diff options
author | Tharre <tharre3@gmail.com> | 2017-06-26 21:11:16 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2017-06-26 21:17:26 +0200 |
commit | b66eae6ef3680795471a0bc72dd99f66e87cb319 (patch) | |
tree | 9c52850de66f45ce403bc8adf494876e8c8ff7de /zsh-custom | |
parent | 15dfac43ebedf7664402dd8e248756f929ce705d (diff) | |
download | dotfiles-b66eae6ef3680795471a0bc72dd99f66e87cb319.tar.gz dotfiles-b66eae6ef3680795471a0bc72dd99f66e87cb319.tar.xz dotfiles-b66eae6ef3680795471a0bc72dd99f66e87cb319.zip |
zsh-theme: fix spacing bug
Diffstat (limited to 'zsh-custom')
-rw-r--r-- | zsh-custom/themes/custom.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh-custom/themes/custom.zsh-theme b/zsh-custom/themes/custom.zsh-theme index b2c3b76..a485b44 100644 --- a/zsh-custom/themes/custom.zsh-theme +++ b/zsh-custom/themes/custom.zsh-theme @@ -5,7 +5,7 @@ local return_code="%(?..%{$fg[red]%}:%?%{$reset_color%})" # prefix hostname if ssh session was detected if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_CONNECTION" ] || [ -n "$SSH_TTY" ]; then - local hostname="$fg[red][%m]%{$reset_color%} " + local hostname="%{$fg[red]%}[%m]%{$reset_color%} " fi # primary prompt |