1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-18 13:49:50 +00:00

fixed: purge in fish shell

This commit is contained in:
skywind3000
2019-02-06 20:47:35 +08:00
parent 78c170c988
commit 18656b120e

2
z.lua
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