Skip to content

Instantly share code, notes, and snippets.

@nhahv
Created May 28, 2021 04:34
Show Gist options
  • Select an option

  • Save nhahv/d0d9b7eccf7de7e21ffacb5b0169cc4a to your computer and use it in GitHub Desktop.

Select an option

Save nhahv/d0d9b7eccf7de7e21ffacb5b0169cc4a to your computer and use it in GitHub Desktop.
debian-ubuntu-zsh-setup.bash
apt-get update && apt-get install -y git zsh vim curl
echo 'Y\n' | sh -c "\$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions.git $HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
sed -i 's/plugins=(git)/plugins=(zsh-autosuggestions zsh-syntax-highlighting)/g' ~/.zshrc
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="agnoster"/g' ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment