Browse code

Remove limit of two segments to PWD

John Reese authored on 08/04/2010 at 19:07:43
Showing 1 changed files
... ...
@@ -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%}'