From: martin f. krafft Date: Thu, 7 Nov 2019 22:29:37 +0000 (+1300) Subject: add pts/tty to term title X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/308358cae2dd574c92560b7b20cc51394ddb9708?hp=5999f1756c68dc1af43185f01d41c123974e2a7d add pts/tty to term title --- diff --git a/.zsh/zshrc/10-xterm_title b/.zsh/zshrc/10-xterm_title index b695811..c694eeb 100644 --- a/.zsh/zshrc/10-xterm_title +++ b/.zsh/zshrc/10-xterm_title @@ -36,6 +36,7 @@ __get_session_flags() { __get_standard_prompt() { emulate -L zsh + print -n "[${${(%):-%l}#pts/}]" [[ -z $SSH_CLIENT ]] || print -nP "%m" print -P "%#%25\<..\<%~ $(__get_session_flags)" }