go back to p10k

This commit is contained in:
Daylin Morgan 2024-07-01 13:33:02 -05:00
parent 6436bcf493
commit 01cb06f654
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 12 additions and 11 deletions

View file

@ -17,7 +17,7 @@ junegunn/fzf path:shell/key-bindings.zsh
wfxr/forgit
# prompt
# romkatv/powerlevel10k kind:fpath
romkatv/powerlevel10k kind:fpath
${ZDOTDIR}/plugins/prompt
# wrap-up

View file

@ -1,16 +1,16 @@
#!/usr/bin/env zsh
0=${(%):-%N}
# 0=${(%):-%N}
# fpath+="${0:A:h}/functions"
# autoload -Uz promptinit && promptinit
#
# if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
# [[ ! -f $ZDOTDIR/themes/.p10k.zsh ]] || source $ZDOTDIR/themes/.p10k.zsh
# else
# [[ ! -f $ZDOTDIR/themes/.p10k-ascii.zsh ]] || source $ZDOTDIR/themes/.p10k-ascii.zsh
# fi
# prompt powerlevel10k
autoload -Uz promptinit && promptinit
if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
[[ ! -f $ZDOTDIR/themes/.p10k.zsh ]] || source $ZDOTDIR/themes/.p10k.zsh
else
[[ ! -f $ZDOTDIR/themes/.p10k-ascii.zsh ]] || source $ZDOTDIR/themes/.p10k-ascii.zsh
fi
prompt powerlevel10k
# eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml)"

View file

@ -147,7 +147,7 @@
# Connect left prompt lines with these symbols.
# typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%5F╭─'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%5F·'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%5F'
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%5F├─'
# typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%5F╰─'
typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=''
@ -176,6 +176,7 @@
# prompt.
# typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='─'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='·'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' '
if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then
# The color of the filler.
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=5