dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit f5c768fe650e828f844f3c72948df1cf5694f26d
parent 56a06abe796510f92c4c69cde0016ed79e67ce76
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 30 May 2018 15:30:23 -0400

Show return status in square brackets

Diffstat:
Mlinks/.zshrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/links/.zshrc b/links/.zshrc @@ -160,7 +160,7 @@ insert_mode='' normal_mode='%{$fg[white]%}N' rprompt() { - echo -n "%(?..%{$fg[red]%}%?%{$reset_color%})" # return status + echo -n "%(?..%{$fg[red]%}[%?]%{$reset_color%})" # return status echo -n "%{$fg[green]%}${EXECTIME}%{$reset_color%} " # runtime of prev cmd echo -n "%B%{$fg[cyan]%}%~%{$reset_color%} " # pwd echo -n "%{$fg[cyan]%}$(git_branch)" # git branch