Remove generated bash_completion.sh.
This commit is contained in:
parent
eab8d5afb8
commit
5a4eff054b
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ missing
|
|||||||
doc/*.xml
|
doc/*.xml
|
||||||
*~
|
*~
|
||||||
doc/html*
|
doc/html*
|
||||||
|
bash_completion.sh
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user