From 46897d993847efa8b71e045ef1ff6f38eced6b42 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 18 Jul 2016 10:54:47 +0200 Subject: [PATCH] bash-completion: Turn off by default As the completions have sometimes unwanted behavior, confusing a user, turn it off by default. Move the shell script to the doc directory, where the users can copy it from into their own profile directory. Fixes: #55 ([bash-completion.be0] is on per default ) --- bash-completion.be0 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash-completion.be0 b/bash-completion.be0 index e40031455..2f1e9afa2 100755 --- a/bash-completion.be0 +++ b/bash-completion.be0 @@ -67,6 +67,9 @@ mee_install() { rm -v $D/${DATAROOTDIR}/bash-completion/completions/mount rm -v $D/${DATAROOTDIR}/bash-completion/completions/umount mv -v $D/${DATAROOTDIR}/bash-completion/completions/{nc,netcat} + + mkdir -p $D/${DOCDIR} + mv -v $D/${SYSCONFDIR}/profile.d/bash_completion.sh $D/${DOCDIR}/ } # by default this may be 'make install DESTDIR="${D}"'