X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ed53f8c3fed60ee969db84a0501722955e78831c..1edf3ccaf2250a42f75b6e56db0a1df3dbcd9c23:/.zsh/zshrc/80_xtermtitle diff --git a/.zsh/zshrc/80_xtermtitle b/.zsh/zshrc/80_xtermtitle index 6496952..e969c6d 100644 --- a/.zsh/zshrc/80_xtermtitle +++ b/.zsh/zshrc/80_xtermtitle @@ -27,6 +27,7 @@ __get_session_flags() { local flags; flags= [ -n "$DISPLAY" ] && flags="${flags}x" [ -n "$SSH_AUTH_SOCK" ] && flags="${flags}a" + [[ $SSH_CLIENT = *:* ]] && flags="${flags}6" [ -n "$flags" ] && echo "[${flags}]" }