fixed: purge in fish shell

This commit is contained in:
skywind3000 committed 2019-02-06 20:47:35 +08:00
1 parent 78c170c988
commit 18656b120e
1 file changed
+1 -1
+1 -1
View File
@@ -2008,7 +2008,7 @@ function _zlua
end
if test "$arg_mode" = "-h"
_zlua_call "$ZLUA_LUAEXE" "$ZLUA_SCRIPT" -h
else if test "$arg_mode" == "--purge"
else if test "$arg_mode" = "--purge"
_zlua_call "$ZLUA_LUAEXE" "$ZLUA_SCRIPT" --purge
else if test "$arg_mode" = "-l"
_zlua_call "$ZLUA_LUAEXE" "$ZLUA_SCRIPT" -l $arg_subdir $arg_type $arg_strip $argv