aboutsummaryrefslogtreecommitdiff
path: root/app_completion
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-09 13:32:46 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-09 13:32:46 +0200
commitd60f9ab93ffcd694a5110dc72213d34e8594a0f8 (patch)
tree4772578dbaf07bc4e8adae7917640053db8fa0fb /app_completion
parent48edc9a28e643f54a6d545226a0c2f4c58cd248b (diff)
downloadapp.sh-d60f9ab93ffcd694a5110dc72213d34e8594a0f8.tar.gz
app.sh-d60f9ab93ffcd694a5110dc72213d34e8594a0f8.tar.bz2
app.sh-d60f9ab93ffcd694a5110dc72213d34e8594a0f8.tar.xz
app.sh-d60f9ab93ffcd694a5110dc72213d34e8594a0f8.zip
o Adding list-versions and set-version.
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
;;