0%

Install-ohmyzsh-fzf-z

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
2
3
4
5
6
plugins=(
git
z
zsh-autosuggestions
zsh-syntax-highlighting
)

Install fzf

1
2
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
1
2
3
4
5
6
7
8
export FZF_BASE=~/.fzf
plugins=(
git
fzf
z
zsh-autosuggestions
zsh-syntax-highlighting
)

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
2
3
4
export ZPLUG_HOME=/path/to/.zplug
source $ZPLUG_HOME/init.zsh
zplug "changyuheng/fz", defer:1
zplug load
1
2
3
source ~/.zshrc
zplug install
source ~/.zshrc

Reference