mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
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:
parent
5c4acc8ee1
commit
3a190bbe49
1 changed files with 0 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue