summarylogtreecommitdiffstats
path: root/bash-complete-alias.install
diff options
context:
space:
mode:
Diffstat (limited to 'bash-complete-alias.install')
-rwxr-xr-xbash-complete-alias.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/bash-complete-alias.install b/bash-complete-alias.install
new file mode 100755
index 000000000000..66478f551515
--- /dev/null
+++ b/bash-complete-alias.install
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+post_install() {
+ echo
+ echo '==> bash-complete-alias installation notes:'
+ echo
+ echo ' 1. Source /usr/share/bash-complete-alias/complete_alias in your bash config (e.g. ~/.bashrc).'
+ echo
+ echo ' 2. For each alias in your bash config, call the complete builtin with _complete_alias and the name of the alias.'
+ echo ' i.e. complete -F _complete_alias my_alias'
+ echo
+ echo '==> For more details see /usr/share/doc/bash-complete-alias/README.md'
+ echo
+}