aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zshrc.dot.link2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshrc.dot.link b/zshrc.dot.link
index 0255a66..e16d962 100644
--- a/zshrc.dot.link
+++ b/zshrc.dot.link
@@ -1,7 +1,7 @@
# Set up the prompt
autoload -Uz promptinit && promptinit
autoload -U colors && colors
-PROMPT="%{$fg[green]%}%? %{$fg[cyan]%}$(date +%Y%m%d) %* %{$fg[yellow]%}%n@%m%{$reset_color%}:%{$fg[cyan]%}%~%{$reset_color%} %# "
+PROMPT="%(?.%{$fg[green]%}.%{$fg[red]%})%? %{$fg[cyan]%}$(date +%Y%m%d) %* %{$fg[yellow]%}%n@%m%{$reset_color%}:%{$fg[cyan]%}%~%{$reset_color%} %# "
# Set history
setopt histignorealldups sharehistory