m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 23:33:39 -05:00

Exclude hidden files by default (TBD)

This commit is contained in:
Junegunn Choi
2013-10-24 01:15:29 +09:00
parent 03b204ec40
commit e8a1346aa4

2
fzf
View File

@@ -119,7 +119,7 @@ C.init_pair 4, C::COLOR_RED, C::COLOR_BLACK
@read =
if $stdin.tty?
if !`which find`.empty?
IO.popen('find . -type f 2> /dev/null')
IO.popen("find * -path '*/\\.*' -prune -o -type f -print 2> /dev/null")
else
exit 1
end