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 5ce24a9 commit fc0d06dCopy full SHA for fc0d06d
2 files changed
argcomplete/bash_completion.d/_python-argcomplete
@@ -216,7 +216,7 @@ _python_argcomplete_global() {
216
if is-at-least 5.8; then
217
nosort=(-o nosort)
218
fi
219
- if [[ "${completions-}" =~ ([^\\]): && "${BASH_REMATCH[2]}" =~ [=/:] ]]; then
+ if [[ "${completions-}" =~ ([^\\\\]): && "${BASH_REMATCH[2]}" =~ [=/:] ]]; then
220
nospace=(-S '')
221
222
_describe "$executable" completions "${nosort[@]}" "${nospace[@]}"
argcomplete/shell_integration.py
@@ -47,7 +47,7 @@
47
48
49
50
- if [[ "${completions-}" =~ ([^\\]): && "${match[1]}" =~ [=/:] ]]; then
+ if [[ "${completions-}" =~ ([^\\\\]): && "${match[1]}" =~ [=/:] ]]; then
51
52
53
_describe "${words[1]}" completions "${nosort[@]}" "${nospace[@]}"
0 commit comments