Use the new fish_exit event

This commit is contained in:
Fabian Homborg 2018-02-06 17:41:08 +01:00
parent b67a614d86
commit f7adaeb97b
2 changed files with 2 additions and 2 deletions

View file

@ -252,7 +252,7 @@ function __fish_config_interactive -d "Initializations that should be performed
end
# Disable BP before every command because that might not support it.
function __fish_disable_bracketed_paste --on-event fish_preexec --on-process-exit %self
function __fish_disable_bracketed_paste --on-event fish_preexec --on-event fish_exit
printf "\e[?2004l"
end

View file

@ -8,7 +8,7 @@ end
function __trap_switch
switch $argv[1]
case EXIT exit
echo --on-process-exit %self
echo --on-event fish_exit
case '*'
echo --on-signal $argv[1]