2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-16 12:12:48 +00:00

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

Close #943
This commit is contained in:
Junegunn Choi 2017-06-10 13:34:49 +09:00
parent 5efdeccdbb
commit 842a73357c
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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