commit c0ed20f163f7cf63ecc0a712c58386d82f7cec53
parent 2f6dac0e93636b16a27fdf9a4766a7e5521e178c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 15 Aug 2019 20:22:14 +0200
Add space after PWD in zsh prompt
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc
@@ -193,7 +193,7 @@ rprompt() {
echo -n "%(?..%{$fg[red]%}[%?]%{$reset_color%})" # return status
echo -n "${EXECTIME} " # runtime of prev cmd
echo -n "%{$fg[cyan]%}$(git_branch)%{$reset_color%}" # git branch
- echo -n "%~" # pwd
+ echo -n "%~ " # pwd
[ "$USER" != "ad" ] && echo -n "%n@" #username
[ "$HOST" != "idkfa" ] && echo -n "%m" #hostname
}