summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2021-05-31 20:28:30 -0500
committerRobby Workman <rworkman@slackware.com>2021-06-04 22:33:03 -0500
commit4d5e9bce79b5d4a5a45577cb6e619f4a9e9e8c61 (patch)
treef7ea53c4a356c3771b562190c3ece0f01acdc984
parent911063fce40b1c6201528734de4defc11531fc09 (diff)
downloadslackpkg-4d5e9bce79b5d4a5a45577cb6e619f4a9e9e8c61.tar.xz
shell-completions/slackpkg.bash: add "show-changelog"
-rw-r--r--files/shell-completion/slackpkg.bash3
-rwxr-xr-xslackpkg.SlackBuild2
2 files changed, 3 insertions, 2 deletions
diff --git a/files/shell-completion/slackpkg.bash b/files/shell-completion/slackpkg.bash
index 90abc8e..f1b5ca6 100644
--- a/files/shell-completion/slackpkg.bash
+++ b/files/shell-completion/slackpkg.bash
@@ -101,7 +101,8 @@ _slackpkg()
COMPREPLY+=($(compgen -W 'install reinstall upgrade remove
blacklist download update install-new upgrade-all
clean-system new-config check-updates help generate-template
- install-template remove-template search file-search info' -- \
+ install-template remove-template search file-search info
+ show-changelog' -- \
"$cur"))
return
;;
diff --git a/slackpkg.SlackBuild b/slackpkg.SlackBuild
index 443e96b..4b70008 100755
--- a/slackpkg.SlackBuild
+++ b/slackpkg.SlackBuild
@@ -102,7 +102,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install bash-completion file
mkdir -p $PKG/usr/share/bash-completion/completions
-cat $CWD/shell-completion/slackpkg.bash > $PKG/usr/share/bash-completion/completions/slackpkg
+cat $CWD/files/shell-completion/slackpkg.bash > $PKG/usr/share/bash-completion/completions/slackpkg
# Update version number:
sed -i "s/@VERSION@/$VERSION/g" $PKG/usr/sbin/slackpkg