Install zsh
1 | brew install zsh |
CentOS
1 | sudo yum update && sudo yum -y install zsh |
Install ohmyzsh
1 | sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
zsh-autosuggestions
1 | git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions |
zsh-syntax-highlighting
1 | git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting |
1 | plugins=( |
Install fzf
1 | git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf |
1 | export FZF_BASE=~/.fzf |
Install zplug
1 | curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh |
MacOS
1 | brew install zplug |
1 | export ZPLUG_HOME=/path/to/.zplug |
1 | source ~/.zshrc |
Reference
- https://github.com/ohmyzsh/ohmyzsh
- https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH
- https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh
- https://github.com/zsh-users/zsh-syntax-highlighting
- https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
- https://github.com/junegunn/fzf
- https://github.com/zplug/zplug