summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-08-28 23:09:43 -0400
committerDave Reisner <dreisner@archlinux.org>2014-08-29 22:30:30 -0400
commit5997ed5aae975f3b1fc74af0797db9c01345114a (patch)
tree7a9b0b09fdf0305d498d6d35e988f708365b81ba /shell
parent61d246b0ea8dd89c9c31a1d9a19dac407442247b (diff)
downloadasp32-5997ed5aae975f3b1fc74af0797db9c01345114a.tar.xz
add 'show' verb, to display a PKGBUILD for a package
Diffstat (limited to 'shell')
-rw-r--r--shell/bash-completion2
-rw-r--r--shell/zsh-completion1
2 files changed, 2 insertions, 1 deletions
diff --git a/shell/bash-completion b/shell/bash-completion
index 41708c3..cdd7f92 100644
--- a/shell/bash-completion
+++ b/shell/bash-completion
@@ -14,7 +14,7 @@ _asp() {
# top level commands
local -A verbs=(
- [ALL_PACKAGES]='checkout difflog export list-arches list-repos log shortlog'
+ [ALL_PACKAGES]='checkout difflog export list-arches list-repos log shortlog show'
[LOCAL_PACKAGES]='untrack update'
[NONE]='disk-usage gc help list-all list-local'
)
diff --git a/shell/zsh-completion b/shell/zsh-completion
index e26718b..502044c 100644
--- a/shell/zsh-completion
+++ b/shell/zsh-completion
@@ -15,6 +15,7 @@ _asp_command() {
'list-repos'
'log'
'shortlog'
+ 'show'
'update'
'untrack'
)