Skip to content

Instantly share code, notes, and snippets.

@GrayXu
Last active December 24, 2020 08:18
Show Gist options
  • Save GrayXu/8d4433e9b5f9b0202b9966a9280a47a1 to your computer and use it in GitHub Desktop.
Save GrayXu/8d4433e9b5f9b0202b9966a9280a47a1 to your computer and use it in GitHub Desktop.
install&config zsh for personal usage
# default home path is /home/gray
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/GrayXu/8d4433e9b5f9b0202b9966a9280a47a1/raw/zsh_init.sh)"
echo "rush..."
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
wget https://gist.githubusercontent.com/GrayXu/407ec274b4783f8381a5b4daa2b31025/raw/.zshrc -O ~/.zshrc
echo "done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment