Skip to content

Commit

Permalink
README: Note $BASH_COMPLETION_USER_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed May 10, 2018
1 parent a47bd37 commit 8c67dad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ A. Install a local completion of your own appropriately for the desired

**Q. Where should I install my own local completions?**

A. Put them in `$XDG_DATA_HOME/bash-completion/completions`
(or `~/.local/share/bash-completion/completions`
A. Put them in the `completions` subdir of `$BASH_COMPLETION_USER_DIR`
(defaults to `$XDG_DATA_HOME/bash-completion` or
`~/.local/share/bash-completion`
if `$XDG_DATA_HOME` is not set) to have them loaded on demand.
See also the next question's answer for considerations for these
files' names, they apply here as well. Alternatively, you can write
Expand Down

0 comments on commit 8c67dad

Please sign in to comment.