[fish] Fix CTRL-T with paths that don't start with ./

Close #943
pull/946/head
Junegunn Choi 7 years ago
parent 5efdeccdbb
commit 842a73357c
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -19,7 +19,7 @@ function fzf_key_bindings
command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \
-o -type f -print \
-o -type d -print \
-o -type l -print 2> /dev/null | cut -b3-"
-o -type l -print 2> /dev/null | sed 's@^\./@@'"
set -q FZF_TMUX_HEIGHT; or set FZF_TMUX_HEIGHT 40%
begin

Loading…
Cancel
Save