From 308358cae2dd574c92560b7b20cc51394ddb9708 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 8 Nov 2019 11:29:37 +1300 Subject: [PATCH 1/1] add pts/tty to term title --- .zsh/zshrc/10-xterm_title | 1 + 1 file changed, 1 insertion(+) 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)" } -- 2.39.5