Skip to content

Instantly share code, notes, and snippets.

@Refalm
Created September 23, 2023 14:58
Show Gist options
  • Save Refalm/a283cbec1aeb76825e63194f2163dcc0 to your computer and use it in GitHub Desktop.
Save Refalm/a283cbec1aeb76825e63194f2163dcc0 to your computer and use it in GitHub Desktop.
Z Shell (zsh) install in Debian
sudo apt install -y curl git zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sed -i 's#robbyrussell#agnoster#' ~/.zshrc
sh -c "git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-/home/ec2-user/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting"
sed -i 's#plugins=(git)#plugins=(git zsh-syntax-highlighting)#' ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment