mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-08 07:54:42 -04:00
completion: Fix completion of apps/runtimes in a remote
The name of the commandline operation changed to ls-remotes.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user