Skip to content

Fix bash completion around = character#3269

Merged
peterebden merged 2 commits intothought-machine:masterfrom
peterebden:weird-equals-thing
Oct 10, 2024
Merged

Fix bash completion around = character#3269
peterebden merged 2 commits intothought-machine:masterfrom
peterebden:weird-equals-thing

Conversation

@peterebden
Copy link
Copy Markdown
Collaborator

This makes it not be a word break; previously it would turn plz --log_file=plz-out/log/build.log // into ['plz', '--log_file', '=', 'plz-out/log/build.log', '//'] which then creates a log file named =.

It seems to pretty much work as I expect; completion for --log_file= actually seems to work more than before (it prefixes all options with the flag which is a bit unusual but at least it's doing something)

Fixes #3262

@peterebden peterebden merged commit 04cbb40 into thought-machine:master Oct 10, 2024
@peterebden peterebden deleted the weird-equals-thing branch October 10, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Completion creates a file named =

2 participants