X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..286398e8c1acfeb3d98318c71018d68190c7cbb2:/.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() {