Android : Fix emulator autocomplete.
This commit is contained in:
parent
ad875feb7d
commit
18d86bb12d
|
@ -10,7 +10,7 @@ function emulator() {
|
|||
}
|
||||
|
||||
function _android_emulators() {
|
||||
_autocomplete_first $(ls --classify .android/avd/ | grep \/$ | sed -e "s/.avd\/$//")
|
||||
_autocomplete_first $(ls --classify ~/.android/avd/ | grep \/$ | sed -e "s/.avd\/$//")
|
||||
}
|
||||
|
||||
complete -F _android_emulators emulator
|
||||
|
|
Reference in a new issue