From 3a190bbe491dbb5d08d0c5fe8069736ac1661a1d Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 30 May 2015 11:57:31 -0700 Subject: Revert "Notify vte-based terminals when a command completes." Backing out fix for #2096 until we know how to avoid spamming other terminals (#2102) This reverts commit 5c4acc8ee1485e40b00ea0578aeff338078cfb8b. --- share/functions/__fish_config_interactive.fish | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 1551b305..9b27fb98 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -196,16 +196,6 @@ function __fish_config_interactive -d "Initializations that should be performed end end - # Notify vte-based terminals when a command completes - if test "$VTE_VERSION" -ge 3405 - switch "$TERM" - case 'vte*' 'xterm*' - function __notify_vte_command_completed --on-event fish_postexec --description 'Notify VTE of command completion' - printf '\e]777;notify;Command completed;%s\a' (echo "$argv" | cat --show-nonprinting | tr --delete \;) - end - end - end - # The first time a command is not found, look for command-not-found # This is not cheap so we try to avoid doing it during startup # config.fish already installed a handler for noninteractive command-not-found, -- cgit v1.2.3