completion: Fix completion for xdg-app run

This was broken because run didn't take --user or --system
tingping/wmclass
Alexander Larsson 2015-12-10 11:28:54 +01:00
parent 2afc3349b1
commit 7e4d838011
1 changed files with 2 additions and 1 deletions

View File

@ -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
;;