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 5c4acc8ee1.
This commit is contained in:
ridiculousfish 2015-05-30 11:57:31 -07:00
parent 5c4acc8ee1
commit 3a190bbe49

View file

@ -196,16 +196,6 @@ function __fish_config_interactive -d "Initializations that should be performed
end end
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 # 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 # This is not cheap so we try to avoid doing it during startup
# config.fish already installed a handler for noninteractive command-not-found, # config.fish already installed a handler for noninteractive command-not-found,