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
Fix completion when wordbreak is first character (#526)
When a completion argument starts with a wordbreak character (e.g.
"a :b"), argcomplete doesn't properly set `last_wordbreak_pos` and
remove the wordbreak character from the results. This causes bash to add
an extra wordbreak character (e.g. "a ::b") which then breaks any
further completion. This commit properly sets `last_wordbreak_pos` in
the _shlex parser, and adds a test case for a leading colon.
0 commit comments