Skip to content

Instantly share code, notes, and snippets.

@jwpleow
Last active July 30, 2023 14:23
Show Gist options
  • Select an option

  • Save jwpleow/1cbc00f7df9daef5c1a3adedc3f20643 to your computer and use it in GitHub Desktop.

Select an option

Save jwpleow/1cbc00f7df9daef5c1a3adedc3f20643 to your computer and use it in GitHub Desktop.
zsh setup
# Install zsh from apt
sudo apt install zsh
# Install OMZ plugin manager
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# https://github.com/athityakumar/colorls
# Zsh-z autojump
git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z
# Should be last on the plugin list
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
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
#and add zsh-z to the line of your .zshrc that specifies plugins=(), e.g., plugins=( git zsh-z )
# relogin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment