X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ad8b383d21775f621bab9a72a76413fc9fdd00ef..57d8fb02350273da083d12c96a460a666ef4a9e7:/.zsh/zshrc/80_xtermtitle?ds=sidebyside diff --git a/.zsh/zshrc/80_xtermtitle b/.zsh/zshrc/80_xtermtitle index e700aa1..e969c6d 100644 --- a/.zsh/zshrc/80_xtermtitle +++ b/.zsh/zshrc/80_xtermtitle @@ -1,4 +1,4 @@ -# zterm-title +# zshrc/80_xtermtitle # # Fancy setting of the xterm title # @@ -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}]" }