+ PS2 now unique to prevent confusion

+ Added custom python prompt theme
This commit is contained in:
ziro 2020-11-07 06:57:37 +07:00
parent e28d71ce14
commit 34a791751c
4 changed files with 8 additions and 2 deletions

View file

@ -27,7 +27,7 @@ function zle-line-init zle-keymap-select {
PS1="
%B%F{blue}%~ \$vcs_info_msg_0_
%F{green}${${KEYMAP/vicmd/N }/(main|viins)/}$>%f%b "
PS2=$PS1
PS2="%B%F{blue}?>%f%b "
# RPS1="${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}"
# RPS2=$RPS1
zle reset-prompt