Teach completion about --runtime

tingping/wmclass
Matthias Clasen 2015-02-06 17:06:42 +01:00 committed by Alexander Larsson
parent 4fad768593
commit a2f9562989
1 changed files with 3 additions and 3 deletions

View File

@ -28,12 +28,12 @@ _xdg-app() {
[LIST_REMOTES]='--show-urls'
[REPO_CONTENTS]='--show-details --runtimes --apps --update'
[UNINSTALL]='--keep-ref'
[RUN]='--command --branch --devel --forbid'
[RUN]='--command --branch --devel --forbid --runtime'
[BUILD_INIT]='--arch --var'
[BUILD]='--runtime --network --x11'
[BUILD_FINISH]='--command --allow'
[BUILD_EXPORT]='--subject --body'
[ARG]='--arch --command --branch --var --allow --forbid --subject --body'
[ARG]='--arch --command --branch --var --allow --forbid --subject --body --runtime'
)
if __contains_word "--user" ${COMP_WORDS[*]}; then
@ -50,7 +50,7 @@ _xdg-app() {
--command)
comps=$(compgen -A command)
;;
--var)
--var|--runtime)
comps=$(xdg-app $mode list-runtimes)
;;
--allow|--forbid)