ferguscollins / dotfiles

My Unix dotfiles
2 stars 0 forks source link

Add Zshell configuration #13

Open ferguscollins opened 4 years ago

ferguscollins commented 4 years ago

Install with:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Full list of plugins in the repository.

HowToGeek says that powerlevel9k is the coolest theme, clone the repo into the oh-my-zsh folder and then enable it by adding ZSH_THEME="powerlevel9k/powerlevel9k" to the .zshrc:

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

You can customise prompt elements like this:

POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(vcs dir rbenv)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(root_indicator background_jobs status load)

Full documentation also available in the repo.