diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2017-06-10 13:34:49 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-06-10 13:35:24 +0900 |
| commit | 842a73357c9c1933601e4f0c4fd6607e1647ec70 (patch) | |
| tree | f08380a890c899ed75311b4ac47e4367df6f5cdb /shell/key-bindings.fish | |
| parent | 5efdeccdbbf9dba6296f16de65efc6c4ad3a22a9 (diff) | |
| download | fzf-842a73357c9c1933601e4f0c4fd6607e1647ec70.tar.gz | |
[fish] Fix CTRL-T with paths that don't start with ./
Close #943
Diffstat (limited to 'shell/key-bindings.fish')
| -rw-r--r-- | shell/key-bindings.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index e424f1a1..0cff4daa 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 |
