From e8a1346aa4a19a5241f0d51f65c7a43d9af2a946 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 24 Oct 2013 01:15:29 +0900 Subject: [PATCH] Exclude hidden files by default (TBD) --- fzf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fzf b/fzf index c863e83..6c95829 100755 --- a/fzf +++ b/fzf @@ -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