X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..d04677a0a650c4e850485b05f41134900fa5f639:/.zsh/zshrc/80_xtermtitle diff --git a/.zsh/zshrc/80_xtermtitle b/.zsh/zshrc/80_xtermtitle index e41bb14..8059ca8 100644 --- a/.zsh/zshrc/80_xtermtitle +++ b/.zsh/zshrc/80_xtermtitle @@ -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() {