mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-01 01:03:55 +00:00
Exclude hidden files by default (TBD)
This commit is contained in:
parent
03b204ec40
commit
e8a1346aa4
2
fzf
2
fzf
@ -119,7 +119,7 @@ C.init_pair 4, C::COLOR_RED, C::COLOR_BLACK
|
|||||||
@read =
|
@read =
|
||||||
if $stdin.tty?
|
if $stdin.tty?
|
||||||
if !`which find`.empty?
|
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
|
else
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user