X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.zsh%2Fzshrc%2F80_xtermtitle;h=8059ca88c2041044dddaca526af19722ae4edd81;hb=dffaced336ebd944972a3bd0be6a5ab21905eff4;hp=e41bb14459ebc184a81b4812307c388eaa94c12e;hpb=e7aef48f33e934106d1a50201d9f098f9886d7ec;p=zsh.git 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() {