summaryrefslogtreecommitdiff
path: root/app_completion
diff options
context:
space:
mode:
Diffstat (limited to 'app_completion')
-rw-r--r--app_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/app_completion b/app_completion
index 231a714..0647c6d 100644
--- a/app_completion
+++ b/app_completion
@@ -32,14 +32,14 @@ _complete_appsh() {
case $prev in
-n)
values=$(./app list -P name)
- COMPREPLY=( $(compgen -W "$values" -- ${cur}) )
+ COMPREPLY=($(compgen -W "$values" -- ${cur}))
return 0
;;
-i)
if [ -n "$has_n" ]
then
values=$(./app list -n $has_n -P instance)
- COMPREPLY=( $(compgen -W "$values" -- ${cur}) )
+ COMPREPLY=($(compgen -W "$values" -- ${cur}))
return 0
fi
;;