14 # * Wears a different color wether the last command succeeded/failed. |
14 # * Wears a different color wether the last command succeeded/failed. |
15 # * Shows user@hostname if connected through SSH. |
15 # * Shows user@hostname if connected through SSH. |
16 # * Shows if logged in as root or not. |
16 # * Shows if logged in as root or not. |
17 # ------------------------------------------------------------------------------ |
17 # ------------------------------------------------------------------------------ |
18 |
18 |
|
19 ## from omz lib/spectrum.zsh |
|
20 # typeset -AH FX FG |
|
21 # FX[reset]="%{[00m%}" |
|
22 # FX[bold]="%{[01m%}" |
|
23 # FX[no-bold]="%{[22m%}" |
|
24 # FG[071]="%{[38;5;071m%}" |
|
25 # FG[124]="%{[38;5;124m%}" |
|
26 # FG[242]="%{[38;5;242m%}" |
19 |
27 |
20 # Customizable parameters. |
28 # Customizable parameters. |
21 PROMPT_PATH_MAX_LENGTH=30 |
29 PROMPT_PATH_MAX_LENGTH=30 |
22 PROMPT_DEFAULT_END='❯' |
30 PROMPT_DEFAULT_END='❯' |
23 PROMPT_ROOT_END='❯❯❯' |
31 PROMPT_ROOT_END='❯❯❯' |