Skip to content

Commit

Permalink
bash-completion: Turn off by default
Browse files Browse the repository at this point in the history
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 )
  • Loading branch information
pmenzel committed Jul 18, 2016
1 parent 7accec4 commit 46897d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bash-completion.be0
Original file line number Diff line number Diff line change
Expand Up @@ -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}"'

Expand Down

0 comments on commit 46897d9

Please sign in to comment.