From: martin f. krafft Date: Mon, 16 Jun 2008 13:23:54 +0000 (+0200) Subject: add ipv6 flag to xterm title X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/19fd952a611c7e3eaecd146e91e0dbf6400fe6be?ds=inline;pf=etc add ipv6 flag to xterm title --- 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}]" }