Skip to content

Commit

Permalink
completion: Fix completion for xdg-app run
Browse files Browse the repository at this point in the history
This was broken because run didn't take --user or --system
  • Loading branch information
alexlarsson committed Dec 10, 2015
1 parent 2afc334 commit 7e4d838
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion completion/xdg-app
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,9 @@ _xdg-app() {
;;

run|override)
# run doesn't take --user or --system, so don't use mode here
if [[ -z $name ]]; then
comps=$(xdg-app $mode list-apps)
comps=$(xdg-app list-apps)
fi
;;

Expand Down

0 comments on commit 7e4d838

Please sign in to comment.