Skip to content

Instantly share code, notes, and snippets.

@souhaiebtar
Last active September 25, 2017 20:28
Show Gist options
  • Save souhaiebtar/0c0450a4a807da05ff1c07233fbafa60 to your computer and use it in GitHub Desktop.
Save souhaiebtar/0c0450a4a807da05ff1c07233fbafa60 to your computer and use it in GitHub Desktop.
my zshrc file with prezto sourcing and powerlevel9 config
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