From: martin f. krafft Date: Wed, 1 Oct 2008 20:57:37 +0000 (+0200) Subject: fix xtermtitle printing for non-local machines X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/4b37eb91dcc964e9433477e5031273205aaeaae8 fix xtermtitle printing for non-local machines --- diff --git a/.zsh/zshrc/80_xtermtitle b/.zsh/zshrc/80_xtermtitle index 3c682ec..8059ca8 100644 --- a/.zsh/zshrc/80_xtermtitle +++ b/.zsh/zshrc/80_xtermtitle @@ -32,7 +32,7 @@ __get_session_flags() { } __get_standard_prompt() { - [[ -z $SSH_CLIENT ]] || print -P "%m" + [[ -z $SSH_CLIENT ]] || print -nP "%m" print -P "%#%25\<..\<%~ $(__get_session_flags)" }