From 842a73357c9c1933601e4f0c4fd6607e1647ec70 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 10 Jun 2017 13:34:49 +0900 Subject: [PATCH] [fish] Fix CTRL-T with paths that don't start with ./ Close #943 --- shell/key-bindings.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index e424f1a..0cff4da 100644 --- a/shell/key-bindings.fish +++ b/shell/key-bindings.fish @@ -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