| skipped 661 lines |
662 | 662 | | |
663 | 663 | | ```sh |
664 | 664 | | # Feed the output of fd into fzf |
665 | | - | fd --type f | fzf |
| 665 | + | fd --type f --strip-cwd-prefix | fzf |
666 | 666 | | |
667 | 667 | | # Setting fd as the default source for fzf |
668 | | - | export FZF_DEFAULT_COMMAND='fd --type f' |
| 668 | + | export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix' |
669 | 669 | | |
670 | 670 | | # Now fzf (w/o pipe) will use fd instead of find |
671 | 671 | | fzf |
| skipped 6 lines |
678 | 678 | | hidden files, use the following command: |
679 | 679 | | |
680 | 680 | | ```sh |
681 | | - | export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' |
| 681 | + | export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix --hidden --follow --exclude .git' |
682 | 682 | | ``` |
683 | 683 | | |
684 | 684 | | #### Fish shell |
| skipped 31 lines |