lincheney / fzf-tab-completion

Tab completion using fzf
GNU General Public License v3.0
623 stars 40 forks source link

cd to sub directory of directory with spaces does not work as slash gets removed #96

Closed overtomanu closed 4 months ago

overtomanu commented 5 months ago

OS - Linux Fedora Shell - Bash

when doing cd to sub directory of directory with spaces, it removes slash and cd to directory doesn't work. Refer below gif

output

I have following things in the bashrc file

source "$HOME/fzf-tab-completion-master/bash/fzf-bash-completion.sh"
bind -x '"\t": fzf_bash_completion'
export FZF_COMPLETION_AUTO_COMMON_PREFIX=true
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

Might be related to https://github.com/lincheney/fzf-tab-completion/issues/91, I have logged this issue as I was not fully sure if this is a duplicate.

lincheney commented 4 months ago

Hello I have made this commit which I think should fix the issue https://github.com/lincheney/fzf-tab-completion/commit/b8e71337d3a78a67f858f0fcbc4193aff5cb0720

overtomanu commented 4 months ago

@lincheney Thanks. I just tested it and it works. Closing this issue.