Skip to content

Instantly share code, notes, and snippets.

@embano1
Created June 14, 2017 12:45
Show Gist options
  • Save embano1/f77d54b89e061ae7c202a280ac98513e to your computer and use it in GitHub Desktop.
Save embano1/f77d54b89e061ae7c202a280ac98513e to your computer and use it in GitHub Desktop.
zsh Prompt configuration (with Powerlevel9k)
**Install Theme**
Powerlevel 9k
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k (make sure to have Powerline fonts installed first, this method works for oh-my-zsh only)
Details and other installation options: https://github.com/bhilburn/powerlevel9k#installation
**Edit .zshrc**
ZSH_THEME="powerlevel9k/powerlevel9k"
DEFAULT_USER=$USER
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=" --"
POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX="↳ "
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time go_version ip)
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context battery dir vcs virtualenv ssh)
@embano1
Copy link
Author

embano1 commented Jun 14, 2017

zsh prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment