Ultima attività 1730170985

fzf-40.sh Raw
1# Feed the output of fd into fzf
2fd --type f --strip-cwd-prefix | fzf
3
4# Setting fd as the default source for fzf
5export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix'
6
7# Now fzf (w/o pipe) will use the fd command to generate the list
8fzf
9
10# To apply the command to CTRL-T as well
11export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"