Skip to content

Commit be6253c

Browse files
committed
simplify uninstall function name
1 parent 92da27b commit be6253c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

conf.d/pisces.fish

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ bind -M $_pisces_bind_mode \177 _pisces_backspace
2020
bind -M $_pisces_bind_mode \t _pisces_complete
2121

2222

23-
set -l uninstall_event (basename (status -f) .fish)_uninstall
24-
function $uninstall_event --on-event $uninstall_event
23+
function _pisces_uninstall --on-event pisces_uninstall
2524
# NOTE: won't work as expected if user has changed the mode after installation
2625
set -l _pisces_bind_mode default
2726
switch $fish_key_bindings

0 commit comments

Comments
 (0)