summaryrefslogtreecommitdiffstats
path: root/zsh-custom
diff options
context:
space:
mode:
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