This commit is contained in:
Harri Lahtinen 2020-01-26 00:49:05 +02:00
parent ea254b4ba4
commit 49343a15b5
3 changed files with 6 additions and 7 deletions

View File

@ -349,7 +349,6 @@
typeset -g POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON=' '
# Untracked files icon. It's really a question mark, your font isn't broken.
# Change the value of this parameter to show a different icon.
# typeset -g POWERLEVEL9K_VCS_UNTRACKED_ICON=''
POWERLEVEL9K_VCS_GIT_ICON=${(g::)POWERLEVEL9K_VCS_GIT_ICON}
POWERLEVEL9K_VCS_GIT_GITHUB_ICON=${(g::)POWERLEVEL9K_VCS_GIT_GITHUB_ICON}
POWERLEVEL9K_VCS_GIT_GITLAB_ICON=${(g::)POWERLEVEL9K_VCS_GIT_GITLAB_ICON}

View File

@ -6,7 +6,7 @@ POWERLEVEL9K_INSTANT_PROMPT=quiet
# Prompt elements
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(custom_user context dir_writable dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(battery status)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(battery)
# Time
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M}"
@ -91,6 +91,6 @@ POWERLEVEL9K_GO_VERSION_PROMPT_ALWAYS_SHOW=true
# User with skull
user_with_skull() {
echo -n "\uf79f $(whoami)"
echo -n "\ue231 $(whoami)"
}
POWERLEVEL9K_CUSTOM_USER="user_with_skull"

8
.zshrc
View File

@ -31,9 +31,9 @@ if [ -r $HOME/.zaliases ] ; then
source $HOME/.zaliases
fi
#if [ -r $HOME/.powerlevelrc ] ; then
# source $HOME/.powerlevelrc
#fi
if [ -r $HOME/.powerlevelrc ] ; then
source $HOME/.powerlevelrc
fi
ZSH_THEME="powerlevel10k/powerlevel10k"
@ -125,4 +125,4 @@ if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/h
#[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
#[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh