diff options
| author | 2026-07-16 18:24:40 -0700 | |
|---|---|---|
| committer | 2026-07-16 18:24:40 -0700 | |
| commit | 4f8be2a73ddd2571237f71d22e5ad048ea6d6b38 (patch) | |
| tree | 8aef9191118fa642cf707228886d47519b8eefab /zsh/zshrc.org | |
| parent | d84b1f52a400d95e8c56707901280bf730032152 (diff) | |
| download | new-dotfiles-4f8be2a73ddd2571237f71d22e5ad048ea6d6b38.tar.gz new-dotfiles-4f8be2a73ddd2571237f71d22e5ad048ea6d6b38.zip | |
zsh: Add default value when there is no project
This is just the name of the current directory.
Diffstat (limited to 'zsh/zshrc.org')
| -rw-r--r-- | zsh/zshrc.org | 2 |
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 |
