Add -L flag to the default find command

Close #781
This commit is contained in:
Junegunn Choi 2017-01-16 12:01:58 +09:00
parent 11015df52f
commit f96173cbe4
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -4,5 +4,5 @@ package fzf
const (
// Reader
defaultCommand = `find . -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null | sed s/^..//`
defaultCommand = `find -L . -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null | sed s/^..//`
)