Skip to content

Commit

Permalink
complete the avd after @
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed May 31, 2014
1 parent 8b4d4cb commit 828c5d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions android
Expand Up @@ -313,6 +313,14 @@ function _emulator()
;;
esac


case "$cur" in
@*)
COMPREPLY=( $(compgen -P @ -W "$(find ~/.android/avd -maxdepth 1 -name '*.ini' -exec basename {} .ini \;)" -- ${cur:1} ) )
return 0
;;
esac

case "$cur" in
-*)
COMPREPLY=( $(compgen -W "$opts" -- ${cur}) )
Expand Down

0 comments on commit 828c5d7

Please sign in to comment.