completion: Fix completion of apps/runtimes in a remote

The name of the commandline operation changed to ls-remotes.
This commit is contained in:
Alexander Larsson
2015-12-10 11:15:51 +01:00
parent 2c92fcb1d6
commit 2afc3349b1

View File

@@ -250,7 +250,7 @@ _xdg-app() {
if [[ -z $remote ]]; then
comps=$(xdg-app $mode list-remotes)
elif [[ -z $name ]]; then
comps=$(xdg-app $mode repo-contents $remote --runtimes)
comps=$(xdg-app $mode ls-remote $remote --runtimes)
else
comps='' # FIXME: branches
fi
@@ -272,7 +272,7 @@ _xdg-app() {
if [[ -z $remote ]]; then
comps=$(xdg-app $mode list-remotes)
elif [[ -z $name ]]; then
comps=$(xdg-app $mode repo-contents $remote --apps)
comps=$(xdg-app $mode ls-remote $remote --apps)
else
comps='' # FIXME: branches
fi