We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d5785f commit eb6f40cCopy full SHA for eb6f40c
bash_completion
@@ -22,8 +22,8 @@
22
# The latest version of this software can be obtained here:
23
#
24
# https://github.com/scop/bash-completion
25
-#
26
-# RELEASE: 2.5
+
+BASH_COMPLETION_VERSINFO=(2 5)
27
28
if [[ $- == *v* ]]; then
29
BASH_COMPLETION_ORIGINAL_V_VALUE="-v"
bash_completion.sh.in
@@ -1,5 +1,5 @@
1
# Check for interactive bash and that we haven't already been sourced.
2
-if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z "${BASH_COMPLETION_COMPAT_DIR-}" ]; then
+if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z "${BASH_COMPLETION_VERSINFO-}" ]; then
3
4
# Check for recent enough version of bash.
5
if [ ${BASH_VERSINFO[0]} -gt 4 ] || \
0 commit comments