go back to p10k
This commit is contained in:
parent
6436bcf493
commit
01cb06f654
3 changed files with 12 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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)"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue