punkfairie
da123a0d7e
'fzf' will automatically default to 'fzf-tmux -p 95%,90%' when in a tmux session.
9 lines
154 B
Fish
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
|