X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/f2551c20e16e66cde2c703f64eafefa9b5753129..c3da6fd36611ed2f8f251f07262830b21b2a562b:/.zsh/zshrc/10-xterm_title?ds=inline diff --git a/.zsh/zshrc/10-xterm_title b/.zsh/zshrc/10-xterm_title index 05da3de..82f311a 100644 --- a/.zsh/zshrc/10-xterm_title +++ b/.zsh/zshrc/10-xterm_title @@ -42,9 +42,8 @@ __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)" + print -P "@${${(%):-%l}#pts/}%#%25\<..\<%~ $(__get_session_flags)" } _set_plain_xterm_title() {