aboutsummaryrefslogtreecommitdiff
path: root/shells/bash-completion/files/pkg-message.in
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash-completion/files/pkg-message.in')
-rw-r--r--shells/bash-completion/files/pkg-message.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/shells/bash-completion/files/pkg-message.in b/shells/bash-completion/files/pkg-message.in
index 496b2f38a789..295c11f08d8d 100644
--- a/shells/bash-completion/files/pkg-message.in
+++ b/shells/bash-completion/files/pkg-message.in
@@ -1,15 +1,13 @@
=====================================================================
-You must enable the bash programmable completion library yourself!
+To enable the bash completion library, add the following to
+your .bashrc file:
- * source %%PREFIX%%/etc/bash_completion from your .bashrc file
+[[ $PS1 && -f %%RUNFILE%% ]] && \
+ source %%RUNFILE%%
- if [ -f %%PREFIX%%/etc/bash_completion ]; then
- . %%PREFIX%%/etc/bash_completion
- fi
-
- * or, run %%PREFIX%%/bin/bash_completion.sh from your .bashrc
+See %%DOCSDIR%%/README for more information.
=====================================================================