Skip to content

Commit 69188e5

Browse files
author
Jernej Tonejc
committed
fix escapes for terminal title
1 parent ac35416 commit 69188e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitprompt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ function gp_truncate_pwd {
542542

543543
#Sets the window title to the given argument string
544544
function gp_set_window_title {
545-
echo -ne "\033]0;"$@"\007"
545+
echo -ne "\[\033]0;"$@"\007\]"
546546
}
547547

548548
function prompt_callback_default {

0 commit comments

Comments
 (0)