Commit a32157e
committed
Point to /usr/share/bash-completion/completions for system bash completions
/etc/bash_completion.d works too, but the downside is that everything
there is loaded eagerly at bash_completion load time, slowing down shell
startup.
From /usr/share/bash-completion/completions completion files are loaded
on demand. This mechanism is available as of bash-completion version 2
and later, just like the ~/.local/share/bash-completion/completions one
that is already suggested for user-specific completions.1 parent c91ee06 commit a32157e
File tree
2 files changed
+4
-2
lines changed- src/cli
- tests/suite/cli-ui/rustup
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments