We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2614f52 commit 7e7cb5aCopy full SHA for 7e7cb5a
1 file changed
themes/dpoggi.zsh-theme
@@ -1,10 +1,7 @@
1
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
2
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
3
4
-PROMPT='%{$fg[$NCOLOR]%}%n%{$reset_color%}@%{$fg[cyan]%}%m\
5
-%{$reset_color%}:%{$fg[magenta]%}%~\
6
-$(git_prompt_info) \
7
-%{$fg[red]%}%(!.#.»)%{$reset_color%} '
+PROMPT='%{$fg[$NCOLOR]%}%n%{$reset_color%}@%{$fg[cyan]%}%m%{$reset_color%}:%{$fg[magenta]%}%~$(git_prompt_info) %{$fg[red]%}%(!.#.»)%{$reset_color%} '
8
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
9
RPS1='${return_code}'
10
0 commit comments