File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ bind " " '_abbr_tips_bind_space'
22bind \n ' _abbr_tips_bind_newline'
33bind \r ' _abbr_tips_bind_newline'
44
5- set -l uninstall (basename (status -f ) .fish){_uninstall}
6-
75set -g _abbr_tips_used 0
86if ! set -q ABBR_TIPS_PROMPT; set -gx ABBR_TIPS_PROMPT " \nπ‘ \e[1m{{ .abbr }}\e[0m => {{ .cmd }}" ; end
97if ! set -q ABBR_TIPS_AUTO_UPDATE; set -gx ABBR_TIPS_AUTO_UPDATE ' background' ; end
@@ -44,7 +42,7 @@ function abbr_fish --on-event fish_postexec -d "Abbreviation reminder for the cu
4442 end
4543end
4644
47- function $uninstall --on-event $uninstall
45+ function __abbr_tips_uninstall --on-event abbr_tips_uninstall
4846 bind --erase \n
4947 bind --erase \r
5048 bind --erase " "
@@ -53,6 +51,7 @@ function $uninstall --on-event $uninstall
5351 set --erase _ABBR_TIPS_KEYS
5452 set --erase ABBR_TIPS_PROMPT
5553 set --erase ABBR_TIPS_AUTO_UPDATE
54+ set --erase ABBR_TIPS_ALIAS_WHITELIST
5655end
5756
5857# Locking mechanism
You canβt perform that action at this time.
0 commit comments