Change to powerlevel-9k and set it up
This commit is contained in:
parent
a8d6c1c7b8
commit
90bc6fe551
2 changed files with 23 additions and 5 deletions
16
powerlevel_vars
Normal file
16
powerlevel_vars
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
POWERLEVEL9K_MODE=nerdfont-complete
|
||||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( root_indicator ssh virtualenv context dir disk_usage ram newline vcs )
|
||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs battery os_icon time )
|
||||
POWERLEVEL9K_BATTERY_STAGES=(
|
||||
$'▏ ▏' $'▎ ▏' $'▍ ▏' $'▌ ▏' $'▋ ▏' $'▊ ▏' $'▉ ▏' $'█ ▏'
|
||||
$'█▏ ▏' $'█▎ ▏' $'█▍ ▏' $'█▌ ▏' $'█▋ ▏' $'█▊ ▏' $'█▉ ▏' $'██ ▏'
|
||||
$'██ ▏' $'██▎ ▏' $'██▍ ▏' $'██▌ ▏' $'██▋ ▏' $'██▊ ▏' $'██▉ ▏' $'███ ▏'
|
||||
$'███ ▏' $'███▎ ▏' $'███▍ ▏' $'███▌ ▏' $'███▋ ▏' $'███▊ ▏' $'███▉ ▏' $'████ ▏'
|
||||
$'████ ▏' $'████▎▏' $'████▍▏' $'████▌▏' $'████▋▏' $'████▊▏' $'████▉▏' $'█████▏' )
|
||||
POWERLEVEL9K_VCS_GIT_GITLAB_ICON=🤘
|
||||
POWERLEVEL9K_USER_ROOT_BACKGROUND=red
|
||||
POWERLEVEL9K_USER_ROOT_FOREGROUND=white
|
||||
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND=202
|
||||
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND=020
|
||||
POWERLEVEL9K_HOST_REMOTE_BACKGROUND=016
|
||||
POWERLEVEL9K_HOST_REMOTE_FOREGROUND=082
|
||||
12
zshrc
12
zshrc
|
|
@ -58,13 +58,15 @@ if ! zgen saved; then
|
|||
zgen save
|
||||
fi
|
||||
|
||||
. ~/bin/aliases
|
||||
|
||||
#prompt fire 178 142 106 070 034
|
||||
prompt powerline
|
||||
|
||||
# powerline
|
||||
#source ~/bin/powerline_init
|
||||
. ~/bin/aliases
|
||||
if [[ ${TERM} == linux ]]; then
|
||||
prompt pure
|
||||
else
|
||||
. ~/bin/powerlevel_vars
|
||||
prompt powerlevel9k
|
||||
fi
|
||||
|
||||
#alias t=todo.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue