-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Description
z -I . was clearing my whole terminal. This turned out to be missing --height parameter from fzf.
I found this section and few other similar ones not including --height param when its windows.
if not windows then
tmpname = os.tmpname()
local height = os.environ('_ZL_FZF_HEIGHT', '35%')
if height ~= nil and height ~= '' and height ~= '0' then
cmd = cmd .. ' --height ' .. height
end
cmd = cmd .. ' < "' .. tmpname .. '"'
else
tmpname = os.tmpname():gsub('[\\:]', ''):gsub('%.', '')
tmpname = os.environ('TMP', '') .. '\\zlua_' .. tmpname .. '.txt'
cmd = 'type "' .. tmpname .. '" | ' .. cmd
endMetadata
Metadata
Assignees
Labels
No labels