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
|
2016-12-14 11:49:24 +00:00
|
|
|
@@ -1,5 +1,5 @@
|
2014-11-17 12:50:19 +00:00
|
|
|
# Check for interactive bash and that we haven't already been sourced.
|
2017-07-04 07:57:49 +00:00
|
|
|
-if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z "${BASH_COMPLETION_VERSINFO-}" ]; then
|
|
|
|
+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.
|
|
|
|
if [ ${BASH_VERSINFO[0]} -gt 4 ] || \
|