From 41c5a08cabd0183f20ec771f4a59981676db7fa1 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Tue, 3 Apr 2018 03:43:51 +0800 Subject: [PATCH] commit new z.lua --- z.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/z.lua b/z.lua index c9a37f5..e8fb0c5 100644 --- a/z.lua +++ b/z.lua @@ -1,7 +1,7 @@ #! /usr/bin/env lua --===================================================================== -- --- z.lua - z.sh implementation for lua +-- z.lua - z.sh implementation in lua -- -- Created by skywind on 2018/03/19 -- Last Modified: 2018/04/02 19:37 @@ -1125,7 +1125,7 @@ function z_shell_init(opts) print(script_zlua) if opts.bash ~= nil then - if os.getenv("_Z_NO_PROMPT_COMMAND") == nil then + if os.getenv("_ZL_NO_PROMPT_COMMAND") == nil then if opts.fast == nil then print(script_init_bash) else @@ -1134,7 +1134,7 @@ function z_shell_init(opts) end print(script_complete_bash) elseif opts.zsh ~= nil then - if os.getenv("_Z_NO_PROMPT_COMMAND") == nil then + if os.getenv("_ZL_NO_PROMPT_COMMAND") == nil then print(script_init_zsh) end print(script_complete_zsh)