Skip to content

Instantly share code, notes, and snippets.

@souhaiebtar souhaiebtar/.zshrc
Last active Sep 25, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.