Skip to content

Commit ac7308d

Browse files
committed
Don't follow symlinks when finding files
It seems symlinks often point to massive directories that you wouldn't want to be searching in anyway, so it's more trouble than it's worth to follow them. Resolves #66.
1 parent 34ac7e2 commit ac7308d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/__fzf_search_current_dir.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function __fzf_search_current_dir --description "Search the current directory us
33
# See similar comment in __fzf_search_shell_variables.fish.
44
set --local --export SHELL (command --search fish)
55
set file_paths_selected (
6-
fd --hidden --follow --color=always --exclude=.git 2>/dev/null |
6+
fd --hidden --color=always --exclude=.git 2>/dev/null |
77
fzf --multi --ansi --preview='__fzf_preview_file {}'
88
)
99

0 commit comments

Comments
 (0)