目錄
安裝oh-my-zsh
clone the oh-my-zsh.git
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
備份現有的.zshrc (optional)
cp ~/.zshrc ~/.zshrc.old
複製oh-my-zsh提供的樣本 (optional)
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
安裝auto-fu.zsh
clone the auto-fu.zsh.git
git clone https://github.com/monkey413/auto-fu.git $ZSH_CUSTOM/plugins/auto-fu cd $ZSH_CUSTOM/plugins/auto-fu
加入下列到~/.zshrc
auto_fu_path="$ZSH_CUSTOM/plugins/auto-fu/auto-fu.zsh" if [ -f $auto_fu_path ]; then source $auto_fu_path function zle-line-init () { auto-fu-init } zle -N zle-line-init zstyle ':completion:*' completer _oldlist _complete fi
沒有留言:
張貼留言