diff --git a/z.lua b/z.lua index 9a1d733..307644b 100755 --- a/z.lua +++ b/z.lua @@ -2423,7 +2423,9 @@ function _zlua end if test -z "$_ZL_CMD"; set -x _ZL_CMD z; end -alias "$_ZL_CMD"=_zlua +function $_ZL_CMD -w _zlua -d "alias $_ZL_CMD=_zlua" + _zlua $argv +end ]] script_init_fish = [[