We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c790306 commit bf77c2fCopy full SHA for bf77c2f
bash_completion
@@ -163,7 +163,7 @@ _comp_dequote__initialize()
163
{
164
unset -f "$FUNCNAME"
165
local param='\$([_a-zA-Z][_a-zA-Z0-9]*|[-*@#?$!0-9_])|\$\{[!#]?([_a-zA-Z][_a-zA-Z0-9]*(\[([0-9]+|[*@])\])?|[-*@#?$!0-9_])\}'
166
- local quote='\\.|'\''[^'\'']*'\''|"([^\"$`!]|'$param'|\\.)*"|\$'\''([^\'\'']|\\.)*'\'''
+ local quote='\\.|'\''[^'\'']*'\''|\$?"([^\"$`!]|'$param'|\\.)*"|\$'\''([^\'\'']|\\.)*'\'''
167
_comp_dequote__regex_safe_word='^([^\'\''"$`;&|<>()!]|'$quote'|'$param')*$'
168
}
169
_comp_dequote__initialize
0 commit comments