X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/f2551c20e16e66cde2c703f64eafefa9b5753129..fae90a2a15dde4a7472a5353857f1497c63e00db:/.zsh/zshrc/10-xterm_title?ds=sidebyside 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() {