From 5e6c4dba9b9c9274f120a8c3c6f4277954a3161e Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sat, 2 Sep 2023 22:26:52 +1000 Subject: [PATCH 1/1] bash: fix __vte_osc7 in terminal title --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 89add42..7a37f49 100644 --- a/.bashrc +++ b/.bashrc @@ -311,6 +311,7 @@ PROMPT_COMMAND=prompt_command # bashrc to avoid running the trap on commands in the bashrc function print_title_exec { [ "$BASH_COMMAND" = "$PROMPT_COMMAND" ] && return + [ "$BASH_COMMAND" = "__vte_osc7" ] && return printf '\e]0;%s (%s)\a' \ "$(tr -cd '[:graph:] ' <<< "$BASH_COMMAND")" \ -- 2.39.2