We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outside of a quoted string, "${VAR" is split into "$" "{" and "VAR", and pressing TAB attempts filename completion on "VAR".
The following patch
@@ -14,7 +14,7 @@ _fzf_bash_completion_shell_split() { $_fzf_bash_completion_grep -E -o \ -e '\|+|&+|<+|>+' \ -e '[;(){}&\|]' \ - -e "(\\\\.|[^\"'[:space:];(){}&\\|<>${wordbreaks}])+" \ + -e "(\\\\.|\$\{[^}]*(\}|$)|[^\"'[:space:];(){}&\\|<>${wordbreaks}])+" \ -e "\\\$'(\\\\.|[^'])*('|$)" \ -e "'[^']*('|$)" \ -e '"(\\.|\$($|[^(])|[^"$])*("|$)' \
seems to help, but I'm sure there are unintended side effects.
The text was updated successfully, but these errors were encountered:
i've made a basic fix here 62c49fb But it won't handle more complicated cases, like ${var:-${another_var
${var:-${another_var
Sorry, something went wrong.
lincheney
No branches or pull requests
Outside of a quoted string, "${VAR" is split into "$" "{" and "VAR", and pressing TAB attempts filename completion on "VAR".
The following patch
seems to help, but I'm sure there are unintended side effects.
The text was updated successfully, but these errors were encountered: