ubuntu配置zsh和oh-my-zsh

1安裝zsh

sudo apt-get install -y zsh

chsh -s /bin/zsh

2安裝oh-my-zsh

$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

3安裝zsh-autosuggestions

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

用文本編輯器編輯oh-my-zsh配置文件,vscode 是 code  sublime是subl  ubuntu自帶geidt mint自帶的xed均可以git

xed  ~/.zshrc

找到,默認裝了gitgithub

plugins=(git)

改爲ubuntu

plugins=(git zsh-autosuggestions)
相關文章
相關標籤/搜索