Remove _tide_on_fish_cancel

This commit is contained in:
Ilan Cosman 2020-12-23 11:04:39 -08:00
parent d1b2806977
commit b4aa00ac43

View File

@ -30,11 +30,6 @@ function _tide_refresh_prompt --on-variable _tide_left_prompt_display_$fish_pid
commandline --function force-repaint commandline --function force-repaint
end end
function _tide_on_fish_cancel --on-event fish_cancel
string repeat --no-newline --count (string match --all 'newline' $tide_left_prompt_items | count) \n
test "$tide_print_newline_before_prompt" = 'true' && printf '%b' '\n'
end
function _tide_on_fish_exit --on-event fish_exit function _tide_on_fish_exit --on-event fish_exit
set -e _tide_left_prompt_display_$fish_pid set -e _tide_left_prompt_display_$fish_pid
set -e _tide_right_prompt_display_$fish_pid set -e _tide_right_prompt_display_$fish_pid