diff options
Diffstat (limited to 'Functions/Prompts/prompt_green_setup')
-rw-r--r-- | Functions/Prompts/prompt_green_setup | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Functions/Prompts/prompt_green_setup b/Functions/Prompts/prompt_green_setup new file mode 100644 index 000000000..8b08d5d3b --- /dev/null +++ b/Functions/Prompts/prompt_green_setup @@ -0,0 +1,18 @@ +# Converted to zsh prompt theme by bash2zshprompt, written by <adam@spiers.net> + +for code in 333 262 261 260 333 262 261 260 333 262 261 260; do + local varname=char_$code + : ${(P)varname=$(echo -n "\\0$code")} +done + +# Created by Jim Foltz <aa204@acorn.net> +# Changed by Spidey 08/06 +prompt_green_setup () { + PS1="%{$fg_green$bg_green$bold_color%}$char_333$char_262$char_261$char_260%{$fg_white$bg_green$bold_color%}%n@%m%{$reset_color$fg_green$bg_grey%}$char_333$char_262$char_261$char_260%{$fg_white$bg_grey$bold_color%} %D{%a %b %d} %D{%I:%M:%S%P} $prompt_newline%{$fg_green$bg_grey$bold_color%}%~/%{$reset_color%} " + PS2="%{$fg_green$bg_grey%}$char_333$char_262$char_261$char_260%{$reset_color%}>" + + precmd () { } + preexec () { } +} + +prompt_green_setup "$@" |