[Bash-completion-commits] [SCM] bash-completion branch, master, updated. aae256d7e05d1dc4847eff0eb8230edf7655f3d6
Ville Skyttä
ville.skytta at iki.fi
Sun Jan 3 12:22:23 UTC 2010
The following commit has been merged in the master branch:
commit 5a4eff054b22e91bcc76cc751c397f6c02997171
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Jan 3 14:02:06 2010 +0200
Remove generated bash_completion.sh.
diff --git a/.gitignore b/.gitignore
index 012d65b..45395fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ missing
doc/*.xml
*~
doc/html*
+bash_completion.sh
diff --git a/bash_completion.sh b/bash_completion.sh
deleted file mode 100644
index 1ee0914..0000000
--- a/bash_completion.sh
+++ /dev/null
@@ -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
--
bash-completion
More information about the Bash-completion-commits
mailing list