mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-24 00:29:48 +00:00
fixed: fzf height issue
This commit is contained in:
2
z.lua
2
z.lua
@@ -1147,7 +1147,7 @@ function z_cd(patterns)
|
||||
local cmd = ((not fzf) and 'fzf' or fzf) .. ' ' .. cmd
|
||||
if not windows then
|
||||
tmpname = os.tmpname()
|
||||
cmd = 'cat "' .. tmpname .. '" | --height 35% ' .. cmd
|
||||
cmd = 'cat "' .. tmpname .. '" | ' .. cmd .. ' --height 35%'
|
||||
else
|
||||
tmpname = os.tmpname():gsub('\\', ''):gsub('%.', '')
|
||||
tmpname = os.getenv('TMP') .. '\\zlua_' .. tmpname .. '.txt'
|
||||
|
||||
Reference in New Issue
Block a user