Merge pull request #94 from oh-my-fish/fix-destroy

Only emit uninstall_* event on `omf destroy`
This commit is contained in:
Bruno 2015-10-03 01:13:03 +01:00
commit 3610868fb3

View File

@ -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