Skip to content

Instantly share code, notes, and snippets.

@cherenkov
Created November 17, 2019 14:04
Show Gist options
  • Save cherenkov/b444c2101202d6f14774b00e66e38ed3 to your computer and use it in GitHub Desktop.
Save cherenkov/b444c2101202d6f14774b00e66e38ed3 to your computer and use it in GitHub Desktop.
zsh + zplugin
### Added by Zplugin's installer
source "$HOME/.zplugin/bin/zplugin.zsh"
autoload -Uz _zplugin
(( ${+_comps} )) && _comps[zplugin]=_zplugin
### End of Zplugin installer's chunk
zplugin load zsh-users/zsh-syntax-highlighting # 実行可能なコマンドに色付け
zplugin load zsh-users/zsh-completions # 補完
# Load the pure theme, with zsh-async library that's bundled with it.
zplugin ice pick"async.zsh" src"pure.zsh"
zplugin light sindresorhus/pure
zstyle :prompt:pure:path color cyan
export PATH="$HOME/.anyenv/bin:$PATH"
eval "$(anyenv init - zsh)"
# 補完
autoload -U compinit; compinit
# 大文字小文字を無視して補完する
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment