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
|
wfxr/forgit
|
||||||
|
|
||||||
# prompt
|
# prompt
|
||||||
# romkatv/powerlevel10k kind:fpath
|
romkatv/powerlevel10k kind:fpath
|
||||||
${ZDOTDIR}/plugins/prompt
|
${ZDOTDIR}/plugins/prompt
|
||||||
|
|
||||||
# wrap-up
|
# wrap-up
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
|
||||||
0=${(%):-%N}
|
# 0=${(%):-%N}
|
||||||
# fpath+="${0:A:h}/functions"
|
# fpath+="${0:A:h}/functions"
|
||||||
# autoload -Uz promptinit && promptinit
|
autoload -Uz promptinit && promptinit
|
||||||
#
|
|
||||||
# if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
|
if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
|
||||||
# [[ ! -f $ZDOTDIR/themes/.p10k.zsh ]] || source $ZDOTDIR/themes/.p10k.zsh
|
[[ ! -f $ZDOTDIR/themes/.p10k.zsh ]] || source $ZDOTDIR/themes/.p10k.zsh
|
||||||
# else
|
else
|
||||||
# [[ ! -f $ZDOTDIR/themes/.p10k-ascii.zsh ]] || source $ZDOTDIR/themes/.p10k-ascii.zsh
|
[[ ! -f $ZDOTDIR/themes/.p10k-ascii.zsh ]] || source $ZDOTDIR/themes/.p10k-ascii.zsh
|
||||||
# fi
|
fi
|
||||||
# prompt powerlevel10k
|
prompt powerlevel10k
|
||||||
|
|
||||||
# eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml)"
|
# eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml)"
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,7 @@
|
||||||
|
|
||||||
# Connect left prompt lines with these symbols.
|
# 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_FIRST_PROMPT_PREFIX='%5F'
|
||||||
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_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='%5F╰─'
|
||||||
typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=''
|
typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=''
|
||||||
|
@ -176,6 +176,7 @@
|
||||||
# prompt.
|
# 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='·'
|
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='·'
|
||||||
|
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' '
|
||||||
if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then
|
if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then
|
||||||
# The color of the filler.
|
# The color of the filler.
|
||||||
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=5
|
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=5
|
||||||
|
|
Loading…
Reference in a new issue