X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/19fd952a611c7e3eaecd146e91e0dbf6400fe6be..4336d34048e4e777bcb988ba19bb9b4d3b90eec4:/.zsh/zshrc/80_xtermtitle diff --git a/.zsh/zshrc/80_xtermtitle b/.zsh/zshrc/80_xtermtitle index e969c6d..8059ca8 100644 --- a/.zsh/zshrc/80_xtermtitle +++ b/.zsh/zshrc/80_xtermtitle @@ -5,7 +5,7 @@ # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/etc/zsh.git # # Based on http://www.zshwiki.org/cgi-bin/wiki.pl?ZshHardStatus # @@ -32,7 +32,8 @@ __get_session_flags() { } __get_standard_prompt() { - print -P "%m%#%25\<..\<%~ $(__get_session_flags)" + [[ -z $SSH_CLIENT ]] || print -nP "%m" + print -P "%#%25\<..\<%~ $(__get_session_flags)" } _set_plain_xterm_title() {