Skip to content
Myr

[fish] Fix $dir in FZF_{CTRL_T,ALT_C}_COMMAND not evaluated

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #3705

authored by Junegunn Choi · committed by Junegunn Choi · parent 07ac90d · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:shell/key-bindings.fish+2 added-2 removed
19 unmodified lines
2021 # Store current token in $dir as root for the 'find' command22 function fzf-file-widget -d "List files and folders"23 set -l commandline (__fzf_parse_commandline)24 set -l dir $commandline[1]24 set -lx dir $commandline[1]25 set -l fzf_query $commandline[2]26 set -l prefix $commandline[3]2728 test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
40 unmodified lines
69 end7071 function fzf-cd-widget -d "Change directory"72 set -l commandline (__fzf_parse_commandline)73 set -l dir $commandline[1]73 set -lx dir $commandline[1]74 set -l fzf_query $commandline[2]75 set -l prefix $commandline[3]7677 test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
97 unmodified lines