Skip to content
Snippets Groups Projects
Verified Commit 1418da59 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Make powerlevel9k config more conditional.

parent b8de443d
No related branches found
No related tags found
No related merge requests found
...@@ -37,15 +37,19 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' ...@@ -37,15 +37,19 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# zsh-theme-powerlevel9k # zsh-theme-powerlevel9k
POWERLEVEL9K_MODE='awesome-fontconfig' if [[ -e /usr/share/powerlevel9k/powerlevel9k.zsh-theme ]]; then
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon history status root_indicator context dir vcs virtualenv ) POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon history status root_indicator context dir vcs virtualenv )
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( background_jobs ) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( background_jobs )
POWERLEVEL9K_DIR_SHOW_WRITABLE=true POWERLEVEL9K_DIR_SHOW_WRITABLE=true
POWERLEVEL9K_STATUS_OK=false POWERLEVEL9K_STATUS_OK=false
DEFAULT_USER=nik DEFAULT_USER=nik
VIRTUAL_ENV_DISABLE_PROMPT=1 VIRTUAL_ENV_DISABLE_PROMPT=1
[[ -e /home/nik/.fonts/*.sh ]] && source ~/.fonts/*.sh if [[ -e ~/.config/fontconfig/conf.d/10-symbols.conf ]]; then
[[ -e /usr/share/powerlevel9k/powerlevel9k.zsh-theme ]] && source /usr/share/powerlevel9k/powerlevel9k.zsh-theme POWERLEVEL9K_MODE='awesome-fontconfig'
[[ -e /home/nik/.fonts/*.sh ]] && source ~/.fonts/*.sh
fi
source /usr/share/powerlevel9k/powerlevel9k.zsh-theme
fi
# Aliases # Aliases
[[ -e ~/.bash_aliases ]] && source ~/.bash_aliases [[ -e ~/.bash_aliases ]] && source ~/.bash_aliases
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment