Closed ipwnponies closed 7 years ago
I'm not sure why it's needed to strip the ./
for relative paths at all. It seems to be aesthetics as completions with leading ./
will still work correctly. If it's not required, the fix is simple as removing the extraneous cut -b3-
command.
Thanks, it should be fixed now.
The bindings for in fish support taking a starting directory for search path. This does not work for absolute paths:
The default
FZF_CTRL_T_COMMAND
always strips the first two characters on this line at thecut
command. This only works for relative paths since they are prefixed with./
.This always breaks for absolute paths or paths that are shell expanded to absolute paths ($HOME, ~, etc.):