Skip to content

Instantly share code, notes, and snippets.

@hfziu
Forked from mengyy212/.zshrc
Created November 27, 2019 02:37
Show Gist options
  • Save hfziu/a7a82d9bc7f90b5ccc74f8657b81d2a0 to your computer and use it in GitHub Desktop.
Save hfziu/a7a82d9bc7f90b5ccc74f8657b81d2a0 to your computer and use it in GitHub Desktop.
Install Oh my zsh and plugins
# ...
plugins=(git
zsh-syntax-highlighting
zsh-autosuggestions
zsh-completions
osx)
autoload -U compinit && compinit
# ...
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment