mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Use the new fish_exit event
This commit is contained in:
parent
b67a614d86
commit
f7adaeb97b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue