diff --git a/README.md b/README.md index e50b766..df8c16d 100644 --- a/README.md +++ b/README.md @@ -460,6 +460,7 @@ As you see, z.lua is the fastest one and requires less resource. ## History +- 1.8.4 (2020-02-10): fish shell: set `$_ZL_ECHO` to global scope. - 1.8.3 (2020-02-09): new: `z -b -i` and `z -b -I` to jump backwards in interactive mode. - 1.7.4 (2019-12-29): new: `$_ZL_HYPHEN` to treat hyphen as a normal character, see [here](https://github.com/skywind3000/z.lua/wiki/FAQ#how-to-input-a-hyphen---in-the-keyword-). - 1.7.3 (2019-09-07): use [lua-filesystem](http://keplerproject.github.io/luafilesystem/) package if possible when `$_ZL_USE_LFS` is `1`. diff --git a/z.lua b/z.lua index c74e9e0..bd77f02 100755 --- a/z.lua +++ b/z.lua @@ -4,7 +4,7 @@ -- z.lua - a cd command that learns, by skywind 2018, 2019, 2020 -- Licensed under MIT license. -- --- Version 1.8.3, Last Modified: 2020/02/10 00:05 +-- Version 1.8.4, Last Modified: 2020/02/10 19:22 -- -- * 10x faster than fasd and autojump, 3x faster than z.sh -- * available for posix shells: bash, zsh, sh, ash, dash, busybox @@ -2411,7 +2411,7 @@ function z_fish_init(opts) print('set -x _ZL_MATCH_MODE 1') end if opts.echo then - print('set _ZL_ECHO 1') + print('set -g _ZL_ECHO 1') end if opts.nc then print('set -x _ZL_NO_CHECK 1')