aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zsh/zshrc.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc.org b/zsh/zshrc.org
index b944f82..fc53c1b 100644
--- a/zsh/zshrc.org
+++ b/zsh/zshrc.org
@@ -222,7 +222,7 @@ Set the current tab's title (for wezterm at least), to the current project direc
#+begin_src sh
function set_vcs_title()
{
- printf "\\e]0;${vcs_info_msg_1_}\\a"
+ printf "\\e]0;${vcs_info_msg_1_:-$(basename $PWD)}\\a"
}
add-zsh-hook precmd set_vcs_title