[Bash-completion-commits] [SCM] debian-package branch, master, updated. debian/1.3-1-32-g653f34e
David Paleino
dapal at debian.org
Tue Apr 12 10:45:19 UTC 2011
The following commit has been merged in the master branch:
commit 61ee71bf2ed25227fbf32684770139da8b09e88b
Author: David Paleino <dapal at debian.org>
Date: Tue Apr 12 11:24:10 2011 +0200
Always link bash-builtins, and make it silent
diff --git a/debian/extra/scripts/update-bash-completion b/debian/extra/scripts/update-bash-completion
index 4718f52..14d7705 100755
--- a/debian/extra/scripts/update-bash-completion
+++ b/debian/extra/scripts/update-bash-completion
@@ -21,10 +21,11 @@ fi
commands=$(compgen -f /usr/bin/ ; compgen -f /usr/sbin/ ; compgen -f /usr/games/ ; compgen -f /bin/ ; compgen -f /sbin/)
commands=$(echo $commands | sed 's, /[^ ]*/,|\n,g;s,/[^ ]*/,,;s,$,|,')
-echo -n "bash-completion: updating completion symlinks... "
completions=$(grep -w -F "$commands" $COMPDICT | cut -d: -f1 | sort -u)
for c in $completions; do
[ -L "$RUNCOMPDIR/${c##*/}" ] || ln -s $COMPDIR/$c $RUNCOMPDIR/
done
-echo "done."
+
+# This should *always* be enabled.
+ln -sf $COMPDIR/completions/bash-builtins $RUNCOMPDIR/
--
debian-package
More information about the Bash-completion-commits
mailing list