if [[ -r /usr/share/powerline/bindings/zsh/powerline.zsh ]]; then powerline-daemon -q source /usr/share/powerline/bindings/zsh/powerline.zsh fi if [[ -r /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme ]]; then source /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(virtualenv nodeenv dir vcs) POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 POWERLEVEL9K_SHORTEN_DELIMITER="" POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" fi