summaryrefslogtreecommitdiff
path: root/bash_completion.sh
diff options
context:
space:
mode:
authorDavid Paleino <d.paleino@gmail.com>2009-10-10 17:15:58 +0200
committerDavid Paleino <d.paleino@gmail.com>2009-10-10 17:15:58 +0200
commite5a9b6220e93ca656fd9774c6aefa78241edca6f (patch)
tree4a65aa19b18fe2e8dcec24a1c97ce9746a6f91ff /bash_completion.sh
parent96d00c3d7f1912d4f3f76f8ea21ef68d179b8b30 (diff)
downloadbash-completion-upstream/1.1.tar.gz
Imported Upstream version 1.1upstream/1.1
Diffstat (limited to 'bash_completion.sh')
-rw-r--r--bash_completion.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/bash_completion.sh b/bash_completion.sh
deleted file mode 100644
index 915960b6..00000000
--- a/bash_completion.sh
+++ /dev/null
@@ -1,12 +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%.*}; bminor=${bash#*.}
-if [ $bmajor -eq 2 -a $bminor '>' 04 ] || [ $bmajor -gt 2 ]; then
- if [ -r /etc/bash_completion ]; then
- # Source completion code.
- . /etc/bash_completion
- fi
-fi
-unset bash bminor bmajor