summaryrefslogtreecommitdiff
path: root/packages/bash-completion/files/bash_completion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bash-completion/files/bash_completion.sh')
-rw-r--r--packages/bash-completion/files/bash_completion.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/packages/bash-completion/files/bash_completion.sh b/packages/bash-completion/files/bash_completion.sh
deleted file mode 100644
index 09715211c0..0000000000
--- a/packages/bash-completion/files/bash_completion.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-# check for bash
-[ -z "$BASH_VERSION" ] && return
-
-bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
-if [ "$PS1" ] && [ $bmajor -eq 2 ] && [ $bminor '>' 04 ] \
- && [ -f /etc/bash_completion ]; then # interactive shell
- # Source completion code
- . /etc/bash_completion
-fi
-
-unset bash bmajor bminor
-