Created
June 14, 2017 12:45
-
-
Save embano1/f77d54b89e061ae7c202a280ac98513e to your computer and use it in GitHub Desktop.
zsh Prompt configuration (with Powerlevel9k)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**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) |
Author
embano1
commented
Jun 14, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment