summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2017-04-04 10:30:38 -0400
committerDave Reisner <dreisner@archlinux.org>2017-04-04 10:30:38 -0400
commitccfe1f2e0d55198dcd6b9ed63ec3c60b6008a219 (patch)
treed119e1075845533fdba8b7dbe360e26357a50ea0
parent4dc530e07ebf0c64666ce902edbc85de4fa8d0e8 (diff)
downloadasp32-ccfe1f2e0d55198dcd6b9ed63ec3c60b6008a219.tar.xz
add ls-files to shell completion
-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 292de56..7233705 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 show'
+ [ALL_PACKAGES]='checkout difflog export list-arches list-repos log shortlog show ls-files'
[LOCAL_PACKAGES]='untrack update'
[NONE]='disk-usage gc help list-all list-local'
)
diff --git a/shell/zsh-completion b/shell/zsh-completion
index 502044c..bcf18e4 100644
--- a/shell/zsh-completion
+++ b/shell/zsh-completion
@@ -13,6 +13,7 @@ _asp_command() {
'list-arches'
'list-local'
'list-repos'
+ 'ls-files'
'log'
'shortlog'
'show'