Last active
September 25, 2017 20:28
-
-
Save souhaiebtar/0c0450a4a807da05ff1c07233fbafa60 to your computer and use it in GitHub Desktop.
my zshrc file with prezto sourcing and powerlevel9 config
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
POWERLEVEL9K_MODE='awesome-patched' | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
fi | |
#will show the context in the tab title | |
case $TERM in | |
xterm*) | |
precmd () {print -Pn "\e]0;%n@%m\a"} | |
;; | |
esac | |
#powerlevel9k customization | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_CUSTOM_INTERNET_STATUS_BACKGROUND="black" | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon context dir ) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( 'vcs' 'load' 'ram_joined') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment