From e2c519dd7ac61e4d2f94cad60ef920ce4aa1718f Mon Sep 17 00:00:00 2001 From: Arif Roktim Date: Fri, 3 May 2019 23:00:03 -0400 Subject: [PATCH] Fixes #6874 --- src/etc/cargo.bashcomp.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/etc/cargo.bashcomp.sh b/src/etc/cargo.bashcomp.sh index 24a7344f0f2..793c5c0f21e 100644 --- a/src/etc/cargo.bashcomp.sh +++ b/src/etc/cargo.bashcomp.sh @@ -1,3 +1,7 @@ +# Required for bash versions < 4.1 +# Default bash version is 3.2 on latest macOS. See #6874 +shopt -s extglob + command -v cargo >/dev/null 2>&1 && _cargo() {