diff --git a/plugins/screen/screen.plugin.zsh b/plugins/screen/screen.plugin.zsh index 7009e7a91..9e98035d3 100644 --- a/plugins/screen/screen.plugin.zsh +++ b/plugins/screen/screen.plugin.zsh @@ -19,7 +19,7 @@ if [[ "$TERM" == screen* ]]; then # use the current path (with standard ~ replacement) in square brackets as the # prefix of the tab window hardstatus. - TAB_HARDSTATUS_PREFIX='"[`'$_GET_PATH'`] "' + TAB_HARDSTATUS_PREFIX=$STY'"[`'$_GET_PATH'`] "' # when at the shell prompt, use the shell name (truncated to remove the path to # the shell) as the rest of the title TAB_HARDSTATUS_PROMPT='$SHELL:t' @@ -51,4 +51,4 @@ if [[ "$TERM" == screen* ]]; then eval "tab_hardstatus=$TAB_HARDSTATUS_PREFIX:$TAB_HARDSTATUS_PROMPT" screen_set $tab_title $tab_hardstatus } -fi \ No newline at end of file +fi