| ... | ... |
@@ -3,7 +3,7 @@ |
| 3 | 3 |
if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="green"; fi |
| 4 | 4 |
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
| 5 | 5 |
|
| 6 |
-PROMPT='%{$fg[$NCOLOR]%}%n%{$fg[green]%}@%m%{$reset_color%} %2~ \
|
|
| 6 |
+PROMPT='%{$fg[$NCOLOR]%}%n%{$fg[green]%}@%m%{$reset_color%} %~ \
|
|
| 7 | 7 |
$(git_prompt_info)\ |
| 8 | 8 |
%{$fg[red]%}%(!.#.»)%{$reset_color%} '
|
| 9 | 9 |
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|