fzf: Do not prune current hidden folder in fzf-file-widget

master
Pierre Neidhardt 2016-11-29 11:30:24 +05:30
parent 66f2249db7
commit 0d9ce915ac
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ function __fzf-file-widget
end
set -q FZF_CTRL_T_COMMAND; or set -l FZF_CTRL_T_COMMAND "
command find -L $cwd_esc \\( -path '*/\\.*' -o -fstype 'dev' -o -fstype 'proc' \\) -prune \
command find -L $cwd_esc \\( -path $cwd_esc'*/\\.*' -o -fstype 'dev' -o -fstype 'proc' \\) -prune \
-o -type f -print \
-o -type d -print \
-o -type l -print 2> /dev/null | sed 1d"