|
--height=${FZF_TMUX_HEIGHT:=$(( min(max(lines, fzf_min_height), LINES / 3 * 2) ))} \ |
This I think is attempting to set the height according to items, but you can now set --height=~40% in fzf directly which will decrease to less space if there aren't enough items to fill 40%. I think FZF_TMUX_HEIGHT is only used by fzf if FZF_TMUX_OPTS isn't set now. Regardless, it'd be great to not have fzf-tab override the height, or to have a clean zstyle to set what gets passed there.
fzf-tab/lib/-ftb-fzf
Line 98 in fac1451
This I think is attempting to set the height according to items, but you can now set
--height=~40%in fzf directly which will decrease to less space if there aren't enough items to fill 40%. I think FZF_TMUX_HEIGHT is only used byfzfifFZF_TMUX_OPTSisn't set now. Regardless, it'd be great to not havefzf-taboverride the height, or to have a cleanzstyleto set what gets passed there.