diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-19 09:15:31 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-19 09:15:31 +0000 |
commit | 1ed30d4586030141eb57ff5d2ba285cac45633dc (patch) | |
tree | 70bd26e66610acc3462ff03e1647af9b1a08816f /Functions/Prompts/prompt_adam2_setup | |
parent | c996001c28bad6ec35f27588c5199e00dcd97b8a (diff) | |
download | zsh-1ed30d4586030141eb57ff5d2ba285cac45633dc.tar.gz zsh-1ed30d4586030141eb57ff5d2ba285cac45633dc.tar.xz zsh-1ed30d4586030141eb57ff5d2ba285cac45633dc.zip |
zsh-workers/8672
Diffstat (limited to 'Functions/Prompts/prompt_adam2_setup')
-rw-r--r-- | Functions/Prompts/prompt_adam2_setup | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Functions/Prompts/prompt_adam2_setup b/Functions/Prompts/prompt_adam2_setup index 7bac0854d..626ad431f 100644 --- a/Functions/Prompts/prompt_adam2_setup +++ b/Functions/Prompts/prompt_adam2_setup @@ -46,20 +46,17 @@ prompt_adam2_setup () { # This is a cute hack. Well I like it, anyway. prompt_gfx_bbox_to_mbox=$(print -n "%{\e[A\r$fg_bold[$prompt_adam2_color1]${prompt_gfx_mlc}$fg_no_bold[$prompt_adam2_color1]${prompt_gfx_hyphen}\e[B%}") - prompt_l_paren=$'%{$fg_bold[grey]%}(' - prompt_r_paren=$'%{$fg_bold[grey]%})' - - prompt_l_bracket=$'%{$fg_bold[grey]%}[' - prompt_r_bracket=$'%{$fg_bold[grey]%}]' + prompt_l_paren="%{$fg_bold[grey]%}(" + prompt_r_paren="%{$fg_bold[grey]%})" prompt_machine="%{$fg_no_bold[$prompt_adam2_color3]%}%n%{$fg_bold[$prompt_adam2_color3]%}@%{$fg_no_bold[$prompt_adam2_color3]%}%m" prompt_padding_text=`perl -e "print qq{${prompt_gfx_hyphen}} x 200"` prompt_line_1a="$prompt_gfx_tbox$prompt_l_paren%{$fg_bold[$prompt_adam2_color2]%}%~$prompt_r_paren%{$fg_no_bold[$prompt_adam2_color1]%}" - prompt_line_1a_no_color=$(echo "$prompt_line_1a" | perl -pe "s/%{.*?%}//g") + prompt_line_1a_no_color=$(echo "$prompt_line_1a" | perl -pe 's/%{.*?%}//g') prompt_line_1b="$prompt_l_paren$prompt_machine$prompt_r_paren%{$fg_no_bold[$prompt_adam2_color1]%}${prompt_gfx_hyphen}" - prompt_line_1b_no_color=$(echo "$prompt_line_1b" | perl -pe "s/%{.*?%}//g") + prompt_line_1b_no_color=$(echo "$prompt_line_1b" | perl -pe 's/%{.*?%}//g') prompt_line_2="$prompt_gfx_bbox${prompt_gfx_hyphen}%{$fg_bold[white]%}" |