I think the problem is the variable $dir is not exported in key-bindings.fish
function fzf_key_bindings
# Store current token in $dir as root for the 'find' command
function fzf-file-widget -d "List files and folders"
set -l commandline (__fzf_parse_commandline)
set -l dir $commandline[1] ## <--- should be `set -lx` here?
set -l fzf_query $commandline[2]
set -l prefix $commandline[3]
Checklist
man fzf
)Output of
fzf --version
0.48 (devel)
OS
Shell
Problem / Steps to reproduce
I think the problem is the variable
$dir
is not exported in key-bindings.fish