summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-10-25 21:39:00 +0300
committerVille Skyttä <ville.skytta@iki.fi>2010-10-25 21:47:33 +0300
commit7d45595493e1f830a3ddbdff845f05ce5a0bc696 (patch)
tree8d372172953ab1f6cef15fe6f22c9965ed8f6604 /doc
parent0073c92980dfb81445cc9491be60d1b94933e251 (diff)
downloadbash-completion-7d45595493e1f830a3ddbdff845f05ce5a0bc696.tar.gz
Complete known hosts from avahi-browse only if $COMP_KNOWN_HOSTS_WITH_AVAHI is non-empty.
This effectively turns off avahi-browse by default; doing it by default is not worth it compared to the number of various (mostly slowness) problems it has caused people, for example Alioth #312691 and RedHat #630326. Mandriva has applied a similar patch for some time already, although their environment variable name was different ($COMP_AVAHI_BROWSE).
Diffstat (limited to 'doc')
-rw-r--r--doc/bash_completion.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/bash_completion.txt b/doc/bash_completion.txt
index c7e7a2b9..b10d6746 100644
--- a/doc/bash_completion.txt
+++ b/doc/bash_completion.txt
@@ -19,7 +19,7 @@ Environment variables
*COMP_KNOWN_HOSTS_WITH_HOSTFILE*::
- If set and not null (default), known_hosts completion will complement
+ If set and not null (default), known hosts completion will complement
hostnames from ssh's known_hosts_files with hostnames taken from the file
specified by the HOSTFILE shell variable (compgen -A hostname). If null,
known_hosts completion will omit hostnames from HOSTFILE. Omitting
@@ -27,6 +27,12 @@ Environment variables
local web development or ad-blocking.
+*COMP_KNOWN_HOSTS_WITH_AVAHI*::
+ If set and not null, known hosts completion will try to use `avahi-browse`
+ for additional completions. This may be a slow operation in some setups.
+ Default is unset.
+
+
*COMP_TAR_INTERNAL_PATHS*::
If set and not null *before* sourcing bash_completion, `tar` completion
will do correct path completion for tar file contents. If unset or null,