Skip to content
Snippets Groups Projects
Commit 11967be0 authored by Benoît Faucon's avatar Benoît Faucon
Browse files

Follow symlinks when using bash autocompletion.

parent 6ee811ea
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ _fzf_path_completion() {
leftover=${leftover/#\/}
[ "$dir" = './' ] && dir=''
tput sc
matches=$(find "$dir"* $1 2> /dev/null | fzf $FZF_COMPLETION_OPTS $2 -q "$leftover" | while read item; do
matches=$(find -L "$dir"* $1 2> /dev/null | fzf $FZF_COMPLETION_OPTS $2 -q "$leftover" | while read item; do
printf '%q ' "$item"
done)
matches=${matches% }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment