Commit 4f15cc8
authored
Make shell completion variables private. (#16144)
Otherwise they leak. For example type `cargo che<Tab>` in ZSH and you
can see that the variables are now set in the shell (overwriting
existing variables of this name).
### What does this PR try to resolve?
Avoids leaking/overwriting variables in the user's shell.
### How to test and review this PR?
Load the shell completions and run a completion.1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments