From 773e717fd9359dc744c582d8aabe3e79b205c0cc Mon Sep 17 00:00:00 2001 From: Laurent Vallar Date: Thu, 13 Feb 2014 09:46:08 +0100 Subject: [PATCH] Enable bash-completion as it's installed Signed-off-by: Laurent Vallar --- boxes/build-debian-box.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boxes/build-debian-box.sh b/boxes/build-debian-box.sh index c6944a2..97bff87 100755 --- a/boxes/build-debian-box.sh +++ b/boxes/build-debian-box.sh @@ -109,6 +109,10 @@ PACKAGES=(vim curl wget man-db bash-completion ca-certificates) chroot ${ROOTFS} apt-get install ${PACKAGES[*]} -y --force-yes chroot ${ROOTFS} apt-get upgrade -y --force-yes +# Enable bash-completion +sed -e '/^#if ! shopt -oq posix; then/,/^#fi/ s/^#\(.*\)/\1/g' \ + -i ${ROOTFS}/etc/bash.bashrc + ################################################################################## # 6 - Configuration management tools