summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/source/bash-completion/bash-completion.SlackBuild2
-rw-r--r--extra/source/bash-completion/fixup-sh-script-completions.diff15
2 files changed, 8 insertions, 9 deletions
diff --git a/extra/source/bash-completion/bash-completion.SlackBuild b/extra/source/bash-completion/bash-completion.SlackBuild
index 19377412..c606bf11 100755
--- a/extra/source/bash-completion/bash-completion.SlackBuild
+++ b/extra/source/bash-completion/bash-completion.SlackBuild
@@ -22,7 +22,7 @@
# Slackware build script for bash-completion
-VERSION=2.10
+VERSION=2.11
ARCH=noarch
BUILD=${BUILD:-1}
diff --git a/extra/source/bash-completion/fixup-sh-script-completions.diff b/extra/source/bash-completion/fixup-sh-script-completions.diff
index 6f3447b8..2d745956 100644
--- a/extra/source/bash-completion/fixup-sh-script-completions.diff
+++ b/extra/source/bash-completion/fixup-sh-script-completions.diff
@@ -6,14 +6,13 @@ since stock bash without bash-completion does that already... --rworkman
Acked-by: volkerdi
-diff -Nur bash-completion-2.2.orig/completions/sh bash-completion-2.2/completions/sh
---- bash-completion-2.2.orig/completions/sh 2016-02-09 08:52:44.000000000 -0600
-+++ bash-completion-2.2/completions/sh 2016-03-06 00:43:49.744767271 -0600
+--- ./completions/sh.orig 2020-07-25 12:37:24.175001592 -0500
++++ ./completions/sh 2020-07-25 12:38:34.061003155 -0500
@@ -31,6 +31,6 @@
- [[ $args -eq 1 ]] && ext=sh
+ ((args == 1)) && ext="sh"
_filedir $ext
} &&
--complete -F _sh sh
-+complete -F _sh
-
- # ex: ts=4 sw=4 et filetype=sh
+- complete -F _sh sh
++ complete -F _sh
+
+ # ex: filetype=sh