From 5fa9e8848208dbdab0250c9924f09fe4ab9e2cd4 Mon Sep 17 00:00:00 2001 From: Patrick Reynolds Date: Sat, 4 Jan 2025 19:26:14 -0500 Subject: [PATCH] Use \w instead of $PWD for title bar --- src/shell-integration/bash/ghostty.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-integration/bash/ghostty.bash b/src/shell-integration/bash/ghostty.bash index 72ae455df..1cd939659 100644 --- a/src/shell-integration/bash/ghostty.bash +++ b/src/shell-integration/bash/ghostty.bash @@ -141,7 +141,7 @@ function __ghostty_precmd() { # Command and working directory # shellcheck disable=SC2016 PS0=$PS0'$(__ghostty_get_current_command)' - PS1=$PS1'\[\e]2;$PWD\a\]' + PS1=$PS1'\[\e]2;\w\a\]' fi fi