1
0
Fork 0
fishdots/functions/__fzfcmd.fish

10 lines
223 B
Fish
Raw Permalink Normal View History

2024-06-28 12:48:25 +00:00
function __fzfcmd
set -q FZF_TMUX; or set FZF_TMUX 0
set -q FZF_TMUX_HEIGHT; or set FZF_TMUX_HEIGHT 40%
if test $FZF_TMUX -eq 1
echo "fzf-tmux -d$FZF_TMUX_HEIGHT"
else
echo "fzf"
end
end