1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-16 04:39:49 +00:00

update doc

This commit is contained in:
skywind3000
2019-02-20 23:31:37 +08:00
parent 9dd0fec7ed
commit 5ea08c5dac
2 changed files with 2 additions and 3 deletions

View File

@@ -458,7 +458,6 @@ As you see, z.lua is the fastest one and requires less resource.
## History
- 1.5.7 (2019-02-20): improve the result of `$_ZL_FZF_SORT`.
- 1.5.6 (2019-02-20): set `$_ZL_FZF_SORT` to 1 to sort directories by alphabet in fzf.
- 1.5.5 (2019-02-20): `$_ZL_FZF_FLAG` can be used to override fzf flags, default to "+s -e".
- 1.5.4 (2019-02-19): fixed: file/path existence detection fails on read-only fs (closed [#49](https://github.com/skywind3000/z.lua/issues/49) by [@contrun](https://github.com/contrun)).

4
z.lua
View File

@@ -4,7 +4,7 @@
-- z.lua - a cd command that learns, by skywind 2018, 2019
-- Licensed under MIT license.
--
-- Version 1.5.7, Last Modified: 2019/02/20 23:15
-- Version 1.5.6, Last Modified: 2019/02/20 23:30
--
-- * 10x faster than fasd and autojump, 3x faster than z.sh
-- * available for posix shells: bash, zsh, sh, ash, dash, busybox
@@ -2000,7 +2000,7 @@ function z_shell_init(opts)
end
print(script_complete_bash)
if opts.fzf ~= nil then
fzf_cmd = "fzf --nth 2 --reverse --inline-info --tac "
fzf_cmd = "fzf --nth 2.. --reverse --inline-info --tac "
if not os.environ('_ZL_FZF_FULLSCR', false) then
fzf_cmd = fzf_cmd .. ' --height 35%'
end