dotfiles 動かなくなったので .zshrc 作り直す
プラグインマネージャー使うのめんどくさくなってきたので、自分で適当にやる
最低限欲しいのはこのへん
https://github.com/sindresorhus/pure
https://github.com/zsh-users/zsh-syntax-highlighting
あとこのへん?なんか antigen 使ってたとき勝手に効いてた気がするのでいれたことなかった
https://github.com/zsh-users/zsh-autosuggestions
https://github.com/zsh-users/zsh-history-substring-search
https://github.com/zsh-users/zsh-completions
code:sh
$ mkdir -p "$HOME/.zsh" && cd $_
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
$ git clone https://github.com/zsh-users/zsh-autosuggestions.git
$ git clone https://github.com/zsh-users/zsh-history-substring-search.git
$ git clone https://github.com/zsh-users/zsh-completions.git
$ git clone https://github.com/sindresorhus/pure.git
$ mkdir -p "$HOME/.zsh/completions" && cd $_
$ curl -o _git https://raw.github.com/git/git/master/contrib/completion/git-completion.zsh -O https://raw.github.com/git/git/master/contrib/completion/git-completion.bash
code:.zshrc
# ~/.zshrc: executed by zsh for non-login shells.
# see http://zsh.sourceforge.net/Guide/zshguide02.html
export ZHOME="$HOME/.zsh"
fpath+=(
$ZHOME/zsh-completions/src
$ZHOME/completions
$ZHOME/pure
)
source "$ZHOME/zsh-autosuggestions/zsh-autosuggestions.zsh"
source "$ZHOME/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
source "$ZHOME/zsh-history-substring-search/zsh-history-substring-search.zsh"
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
autoload -U promptinit; promptinit
prompt pure
setopt nobeep