From 1e1eab1c306f78329ac70a59da0d03fddb12ad0e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 16 Jul 2026 18:24:40 -0700 Subject: zsh: Add default value when there is no project This is just the name of the current directory. --- zsh/zshrc.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3-2-g0d8e