summaryrefslogtreecommitdiffstats
path: root/bash_completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:58 +0000
commitd460debc6f2747699a54b7ea0e25f4ec69bf1b3d (patch)
treeca88441f05ddeb5857757e4fbba5f266119e0439 /bash_completion
parentAdding upstream version 1:2.12.0. (diff)
downloadbash-completion-d460debc6f2747699a54b7ea0e25f4ec69bf1b3d.tar.xz
bash-completion-d460debc6f2747699a54b7ea0e25f4ec69bf1b3d.zip
Adding upstream version 1:2.13.0.upstream/1%2.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion
index e245cc5..42a5dca 100644
--- a/bash_completion
+++ b/bash_completion
@@ -25,7 +25,7 @@
BASH_COMPLETION_VERSINFO=(
2 # x-release-please-major
- 12 # x-release-please-minor
+ 13 # x-release-please-minor
0 # x-release-please-patch
)
@@ -1737,7 +1737,7 @@ _comp_compgen_available_interfaces()
fi
} 2>/dev/null | _comp_awk \
'/^[^ \t]/ { if ($1 ~ /^[0-9]+:/) { print $2 } else { print $1 } }')" &&
- _comp_compgen -U generated set "${generated[@]}"
+ _comp_compgen -U generated set "${generated[@]%%[[:punct:]]*}"
}
# Echo number of CPUs, falling back to 1 on failure.