diff options
-rw-r--r-- | prompt_adam3_setup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/prompt_adam3_setup b/prompt_adam3_setup index 33c6d81..63d218a 100644 --- a/prompt_adam3_setup +++ b/prompt_adam3_setup @@ -33,7 +33,8 @@ prompt_adam3_setup () { #prompt_adam3_hostnamebold=$(( $RANDOM % 2 )) # Possible prompt colors - local colors=(black,red black,green black,yellow black,blue black,magenta black,cyan red,white red,yellow red,cyan green,black green,blue yellow,black yellow,blue blue,white blue,red blue,yellow magenta,white magenta,yellow cyan,white cyan,blue white,black white,red white,blue white,magenta) + local colors + colors=(black,red black,green black,yellow black,blue black,magenta black,cyan red,white red,yellow red,cyan green,black green,blue yellow,black yellow,blue blue,white blue,red blue,yellow magenta,white magenta,yellow cyan,white cyan,blue white,black white,red white,blue white,magenta) # This is where we set up the actual prompt. local hostname_prompt="%K{${${colors[${hostname_color}]}%,*}}%F{${${colors[${hostname_color}]}##*,}}%m%f%k" |