summaryrefslogtreecommitdiffstatshomepage
path: root/zsh
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-11 14:40:17 -0600
committerToby Vincent <tobyv13@gmail.com>2022-03-11 14:40:17 -0600
commit98e7a872dfb3e1d107140e8aaaed111deff5fa34 (patch)
tree7ec8c782da07c876b1154683d62b89722bac2089 /zsh
parente610a34a46669a77799c2bb7b4cd043ef228f544 (diff)
fix: fixed bug in title
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index dd08095..2148dcc 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -50,7 +50,7 @@ set_win_title() {
fi
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
- prefix="${prefix/in/on}${HOSTNAME} in "
+ prefix="${prefix/in/on}${HOST} in "
fi
echo -ne "\033]0;${prefix}${PWD/$HOME/~}\007"