You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I here are some details on my system and i did not do touch config apart what specified in the README for the installation.
> fzf --version
0.58.0 (65db735)
# Last commit on my machine for fzf-tab-completion
> git log -1
commit 4850357beac6f8e37b66bd78ccf90008ea3de40b (HEAD -> master, origin/master, origin/HEAD)
Author: <[email protected]>
Date: Mon Jan 20 18:47:37 2025 +1100
let fzf take up more space if its available
> bash --version
GNU bash, version 4.4.20(1)-release
I have the habit of using function within alias, for example:
alias untargzpdf='_untargzpdf(){
tar -xvzf $1 --wildcards '*.pdf';
unset -f _untargz;
}; _untargzpdf'
The autocompletion works for the alias itself but if I try to tab one more time to select a file it does not work and it gives me this error:
~/Programs/fzf-tab-completion/bash/fzf-bash-completion.sh: eval: line 447: syntax error near unexpected token `('
~/Programs/fzf-tab-completion/bash/fzf-bash-completion.sh: eval: line 447: `compspec=( complete -F _minimal _untargzpdf(){ )'
> untargzpdf
I guess this is probably some kind of corner case or what I usually do with alias is not really correct/orthodox 😅
Thanks
The text was updated successfully, but these errors were encountered:
oh that's intereseting, i think right now the code just naively takes the first "word" of the alias as the actual command, but yours is more complicated than that, would probably have to start doing the bash parsing on the alias
Hello,
I here are some details on my system and i did not do touch config apart what specified in the README for the installation.
I have the habit of using function within alias, for example:
The autocompletion works for the alias itself but if I try to tab one more time to select a file it does not work and it gives me this error:
I guess this is probably some kind of corner case or what I usually do with alias is not really correct/orthodox 😅
Thanks
The text was updated successfully, but these errors were encountered: