Skip to content

Commit 37a21b1

Browse files
committed
Rephrase system-wide vs user-specific bash completion file dir note
It's not that much about whether a command is system-wide or user-specific, but more about whether the completion is. In particular, the user-specific completions file dir is used to override system-wide completion, or to add completion for a command that does not have a system-wide completion installed. This is orthogonal to whether the command is installed system-wide or user-specific.
1 parent 95e0f92 commit 37a21b1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cli/help.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,9 @@ pub(crate) static COMPLETIONS_HELP: &str = r"DISCUSSION:
167167
168168
BASH:
169169
170-
Completion files are commonly stored in
171-
`/usr/share/bash-completion/completions` for
172-
system-wide commands, but can be stored in
173-
`~/.local/share/bash-completion/completions` for user-specific commands.
170+
System wide completion files are commonly stored in
171+
`/usr/share/bash-completion/completions`, and user-specific ones
172+
can be stored in `~/.local/share/bash-completion/completions`.
174173
Run the command:
175174
176175
$ mkdir -p ~/.local/share/bash-completion/completions

0 commit comments

Comments
 (0)