summaryrefslogtreecommitdiffstats
path: root/zsh-custom
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2017-06-26 21:11:16 +0200
committerTharre <tharre3@gmail.com>2017-06-26 21:17:26 +0200
commitb66eae6ef3680795471a0bc72dd99f66e87cb319 (patch)
tree9c52850de66f45ce403bc8adf494876e8c8ff7de /zsh-custom
parent15dfac43ebedf7664402dd8e248756f929ce705d (diff)
downloaddotfiles-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-theme2
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