mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-07 15:20:22 +00:00
Merge pull request #94 from oh-my-fish/fix-destroy
Only emit uninstall_* event on `omf destroy`
This commit is contained in:
commit
3610868fb3
@ -2,7 +2,7 @@ function omf.destroy -d "Remove Oh My Fish"
|
||||
echo (omf::dim)"Removing Oh My Fish..."(omf::off)
|
||||
|
||||
for pkg in (basename $OMF_PATH/pkg/*)
|
||||
omf.remove_package $pkg >/dev/null ^&1
|
||||
emit uninstall_$pkg
|
||||
end
|
||||
|
||||
set -l fish_config $XDG_CONFIG_HOME/fish
|
||||
|
Loading…
Reference in New Issue
Block a user