summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-01-16 12:01:58 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-01-16 12:01:58 +0900
commitf96173cbe4129124e6cbf66804e06dbabc9066c3 (patch)
tree6051ed76dae1e99826c1bcc5692652e920c6e6eb /src
parent11015df52f19a7eb551c460783c2f8ffb6c8afaf (diff)
downloadfzf-f96173cbe4129124e6cbf66804e06dbabc9066c3.tar.gz
Add -L flag to the default find command
Close #781
Diffstat (limited to 'src')
-rw-r--r--src/constants_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants_unix.go b/src/constants_unix.go
index 52677e6c..05f66d0a 100644
--- a/src/constants_unix.go
+++ b/src/constants_unix.go
@@ -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/^..//`
)