summaryrefslogtreecommitdiff
path: root/doc/bash_completion.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bash_completion.txt')
-rw-r--r--doc/bash_completion.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/bash_completion.txt b/doc/bash_completion.txt
index c6e53d4c..e67f98bc 100644
--- a/doc/bash_completion.txt
+++ b/doc/bash_completion.txt
@@ -4,10 +4,11 @@ Bash completion
Configuration files
-------------------
-*~/.bash_completion*::
+*$BASH_COMPLETION_USER_FILE*::
Sourced late by bash_completion, pretty much after everything else.
Use this file for example to load additional completions, and to remove
- and override ones installed by bash_completion.
+ and override ones installed by bash_completion. Defaults to
+ `~/.bash_completion` if unset or null.
*$XDG_CONFIG_HOME/bash_completion*::
Sourced by the bash_completion.sh profile.d script. This file is
@@ -18,6 +19,12 @@ Configuration files
Environment variables
---------------------
+*BASH_COMPLETION_COMPAT_DIR*::
+ Directory for pre-dynamic loading era (pre-2.0) backwards compatibility
+ completion files that are loaded eagerly from `bash_completion` when it is
+ loaded. If unset or null, the default compatibility directory to use is
+ `/etc/bash_completion.d`.
+
*COMP_CONFIGURE_HINTS*::
If set and not null, `configure` completion will return the entire option
string (e.g. `--this-option=DESCRIPTION`) so one can see what kind of data