Follow symlinks when using bash autocompletion.
This commit is contained in:
1 parent
6ee811ea03
commit
11967be017
1 file changed
+1
-1
+1
-1
@@ -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% }
|
||||
|
||||
Reference in new issue
Block a user