[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-428-g8cb5d65

Ville Skyttä ville.skytta at iki.fi
Sat Sep 3 20:27:41 UTC 2011


The following commit has been merged in the master branch:
commit 8cb5d6560ed9a73302a4f4a1213e7e84bfc64501
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Sep 3 23:25:26 2011 +0300

    Document ~/.bash_completion and $XDG_CONFIG_HOME/bash_completion.

diff --git a/doc/bash_completion.txt b/doc/bash_completion.txt
index a58351c..1d1e2cf 100644
--- a/doc/bash_completion.txt
+++ b/doc/bash_completion.txt
@@ -1,6 +1,20 @@
 Bash completion
 ===============
 
+Configuration files
+-------------------
+
+*~/.bash_completion*::
+    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.
+
+*$XDG_CONFIG_HOME/bash_completion*::
+    Sourced by the bash_completion.sh profile.d script.  This file is
+    suitable for definitions of all `COMP_*` environment variables
+    below.  If `$XDG_CONFIG_HOME` is unset or null, `~/.config` is
+    used instead of it.
+
 Environment variables
 ---------------------
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list