Skip to content

Commit

Permalink
simplify uninstall function name
Browse files Browse the repository at this point in the history
  • Loading branch information
laughedelic committed Nov 30, 2020
1 parent 92da27b commit be6253c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions conf.d/pisces.fish
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ bind -M $_pisces_bind_mode \177 _pisces_backspace
bind -M $_pisces_bind_mode \t _pisces_complete


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

0 comments on commit be6253c

Please sign in to comment.