From 18656b120e28eab8e33ebdb36cdf74f8b6fb6424 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Wed, 6 Feb 2019 20:47:35 +0800 Subject: [PATCH] fixed: purge in fish shell --- z.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.lua b/z.lua index 763237c..9254418 100755 --- a/z.lua +++ b/z.lua @@ -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