knox hat die Gist bearbeitet . Zu Änderung gehen
1 file changed, 11 insertions
fzf-40.sh(Datei erstellt)
@@ -0,0 +1,11 @@ | |||
1 | + | # Feed the output of fd into fzf | |
2 | + | fd --type f --strip-cwd-prefix | fzf | |
3 | + | ||
4 | + | # Setting fd as the default source for fzf | |
5 | + | export 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 | |
8 | + | fzf | |
9 | + | ||
10 | + | # To apply the command to CTRL-T as well | |
11 | + | export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" |
Neuer
Älter