Skip to content
New issue

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

fix: bash completion fallback in nounset mode #13686

Merged
merged 1 commit into from
Apr 2, 2024
Merged

fix: bash completion fallback in nounset mode #13686

merged 1 commit into from
Apr 2, 2024

Conversation

scop
Copy link
Contributor

@scop scop commented Apr 1, 2024

With the shell in nounset mode, the intended fallback to filename completion provokes an error:

$ cargo foo <TAB>bash: !opt_var: unbound variable

With the shell in `nounset` mode, the intended fallback to filename
completion provokes an error:

```
$ cargo foo <TAB>bash: !opt_var: unbound variable
```
@rustbot
Copy link
Collaborator

rustbot commented Apr 1, 2024

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-completions Area: shell completions S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 1, 2024
@ehuss
Copy link
Contributor

ehuss commented Apr 2, 2024

Thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 2, 2024

📌 Commit c1ffe80 has been approved by ehuss

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 2, 2024
@bors
Copy link
Collaborator

bors commented Apr 2, 2024

⌛ Testing commit c1ffe80 with merge 0a5cb89...

@bors
Copy link
Collaborator

bors commented Apr 2, 2024

☀️ Test successful - checks-actions
Approved by: ehuss
Pushing 0a5cb89 to master...

@bors bors merged commit 0a5cb89 into rust-lang:master Apr 2, 2024
21 checks passed
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 3, 2024
Update cargo

8 commits in a59aba136aab5510c16b0750a36cbd9916f91796..0637083df5bbdcc951845f0d2eff6999cdb6d30a
2024-03-28 21:21:41 +0000 to 2024-04-02 23:55:05 +0000
- chore(deps): update compatible (rust-lang/cargo#13674)
- Maintain sorting of dependency features (rust-lang/cargo#13682)
- Update `der` crate (rust-lang/cargo#13692)
- fix: bash completion fallback in `nounset` mode (rust-lang/cargo#13686)
- CI: Update macos images to macos-13 (rust-lang/cargo#13685)
- chore(deps): update rust crate opener to 0.7.0 (rust-lang/cargo#13679)
- Remove useless parameters (rust-lang/cargo#13678)
- chore(deps): update rust crate supports-unicode to v3 (rust-lang/cargo#13680)

r? ghost
@rustbot rustbot added this to the 1.79.0 milestone Apr 3, 2024
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Apr 4, 2024
Update cargo

8 commits in a59aba136aab5510c16b0750a36cbd9916f91796..0637083df5bbdcc951845f0d2eff6999cdb6d30a
2024-03-28 21:21:41 +0000 to 2024-04-02 23:55:05 +0000
- chore(deps): update compatible (rust-lang/cargo#13674)
- Maintain sorting of dependency features (rust-lang/cargo#13682)
- Update `der` crate (rust-lang/cargo#13692)
- fix: bash completion fallback in `nounset` mode (rust-lang/cargo#13686)
- CI: Update macos images to macos-13 (rust-lang/cargo#13685)
- chore(deps): update rust crate opener to 0.7.0 (rust-lang/cargo#13679)
- Remove useless parameters (rust-lang/cargo#13678)
- chore(deps): update rust crate supports-unicode to v3 (rust-lang/cargo#13680)

r? ghost
@scop scop deleted the fix/cargo-unset-opt-var branch April 4, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-completions Area: shell completions S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants