diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-03-23 18:25:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-03-23 18:25:25 -0300 |
commit | 00cad600e2c3a68c30220a93e435ef0d85ea9071 (patch) | |
tree | 47ca95b363896210646f2c224c572806626eb18b /zshrc.dot.link | |
parent | f35d181a2261a30d3f4801326a35c09c7bcc3e12 (diff) | |
download | profile-00cad600e2c3a68c30220a93e435ef0d85ea9071.tar.gz profile-00cad600e2c3a68c30220a93e435ef0d85ea9071.tar.bz2 |
ZSH: colored exit status
Diffstat (limited to 'zshrc.dot.link')
-rw-r--r-- | zshrc.dot.link | 2 |
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 |