diff options
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index d49b947..f4c04e9 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -83,11 +83,10 @@ __update_prompt_elements() __term_title __set_prompt_date __hbar - - CURDIR=$C_$_prompt_colors[path]$_C"%(!.%d.%~)"$C_$color[none]$_C - } +CURDIR=$C_$_prompt_colors[path]$_C"%(!.%d.%~)"$C_$color[none]$_C + __error_code () { # Error @@ -312,7 +311,9 @@ __two_lines_prompt () PS2="$C_$_prompt_colors[soft_generic]$_C$(for i in {2..$#lastline} ; print -n "ยท" ; tput sc ; print -n "\r")$C_$color[yellow];$color[bold]$_C%_$(tput rc)$C_$color[none]$_C " __debug "------------------------------" + #RPROMPT=$C_$_prompt_colors[bar]$_C"%{"$T_"%}m"${(l:$(($DATESIZE - 3))::q:)}"j%{"$_T"%}" } +unset RPROMPT if ( ! __zsh_status ) then |