From 19fd952a611c7e3eaecd146e91e0dbf6400fe6be Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 16 Jun 2008 15:23:54 +0200 Subject: [PATCH] add ipv6 flag to xterm title --- .zsh/zshrc/80_xtermtitle | 1 + 1 file changed, 1 insertion(+) 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}]" } -- 2.39.5