Remove generated bash_completion.sh.

This commit is contained in:
Ville Skyttä 2010-01-03 14:02:06 +02:00
parent eab8d5afb8
commit 5a4eff054b
2 changed files with 1 additions and 10 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ missing
doc/*.xml doc/*.xml
*~ *~
doc/html* doc/html*
bash_completion.sh

View File

@ -1,10 +0,0 @@
# Check for interactive bash and that we haven't already been sourced.
[ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$BASH_COMPLETION" ] && return
# Check for recent enough version of bash.
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}
if [ $bmajor -ge 3 -a -r /etc/bash_completion ]; then
# Source completion code.
. /usr/local/etc/bash_completion
fi
unset bash bmajor