dotfiles/tmux/.config/fish/functions/fzf.fish.symlink
punkfairie da123a0d7e
Add func to automatically use fzf-tmux
'fzf' will automatically default to 'fzf-tmux -p 95%,90%' when in a tmux
session.
2024-02-10 21:22:09 -08:00

9 lines
154 B
Fish

#!/usr/bin/env fish
function fzf --wraps=fzf
if test "$TERM_PROGRAM" = tmux
fzf-tmux -p 90%,95% $argv
else
fzf $argv
end
end