From ce04313e298e3b037c4cd5bf0380eca1ab8ca924 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Mon, 28 Jan 2019 16:43:10 +0800 Subject: [PATCH] fixed: _ZL_RANDOM --- z.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.lua b/z.lua index 6ca80f3..b410ebd 100755 --- a/z.lua +++ b/z.lua @@ -1480,7 +1480,7 @@ function _zlua l e x t r c s i h/help A-add C-complete -- $argv if test -n "$_flag_add" - set _ZL_RANDOM (random) + set -x _ZL_RANDOM (random) eval "$ZLUA_LUAEXE" "$ZLUA_SCRIPT" --add $argv return else if test -n "$_flag_complete"