From 0d9ce915acb0cff69dd7e3ccddb76570128d9c20 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 29 Nov 2016 11:30:24 +0530 Subject: [PATCH] fzf: Do not prune current hidden folder in fzf-file-widget --- .config/fish/fzf.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/fzf.fish b/.config/fish/fzf.fish index ac354dda..b65db88f 100644 --- a/.config/fish/fzf.fish +++ b/.config/fish/fzf.fish @@ -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"