2014-11-17 12:50:19 +00:00
|
|
|
---
|
2016-12-14 11:49:24 +00:00
|
|
|
bash_completion.sh.in | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2014-11-17 12:50:19 +00:00
|
|
|
|
|
|
|
--- bash_completion.sh.in
|
2017-07-04 07:57:49 +00:00
|
|
|
+++ bash_completion.sh.in 2017-07-04 07:42:39.171304553 +0000
|
2020-01-07 10:08:21 +00:00
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
# shellcheck shell=sh disable=SC1091,SC2039,SC2166
|
2014-11-17 12:50:19 +00:00
|
|
|
# Check for interactive bash and that we haven't already been sourced.
|
2020-01-07 10:08:21 +00:00
|
|
|
-if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO-}" = x ]; then
|
2018-10-22 07:08:50 +00:00
|
|
|
+if [[ -n "${BASH_VERSION-}" && $- = *i* && -z "${BASH_COMPLETION_VERSINFO-}" ]]; then
|
2014-11-17 12:50:19 +00:00
|
|
|
|
2016-12-14 11:49:24 +00:00
|
|
|
# Check for recent enough version of bash.
|
2020-01-07 10:08:21 +00:00
|
|
|
if [ "${BASH_VERSINFO[0]}" -gt 4 ] || \
|