Skip to content
Snippets Groups Projects
Commit e8a1346a authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Exclude hidden files by default (TBD)

parent 03b204ec
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment