Android : Rename default emulator to main.
This commit is contained in:
parent
2dd2a82468
commit
2d524a06ac
|
@ -1,10 +1,10 @@
|
|||
# Start an Android emulator.
|
||||
# Default name is `default`.
|
||||
# Default name is `main`.
|
||||
# Usage: emulator [NAME]
|
||||
function emulator() {
|
||||
local name="${1}"
|
||||
|
||||
[[ "${name}" = "" ]] && name="default"
|
||||
[[ "${name}" = "" ]] && name="main"
|
||||
|
||||
${ANDROID_SDK_ROOT}/emulator/emulator -avd "${name}" &> /dev/null & disown
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ $ h <COMMAND>
|
|||
|
||||
Command|Description
|
||||
---|---
|
||||
`emulator [NAME]`|Start an Android emulator. Default name is `default`.
|
||||
`emulator [NAME]`|Start an Android emulator. Default name is `main`.
|
||||
|
||||
## Archive.
|
||||
|
||||
|
@ -259,6 +259,7 @@ Command|Description
|
|||
`nix_unstable_small`|Switch to Small Unstable branch (for server).
|
||||
`nix_update`|Update system (rebuild).
|
||||
`nix_upgrade`|Upgrade system.
|
||||
`nix_clean`|Free up root space.
|
||||
|
||||
## Notify.
|
||||
|
||||
|
|
Reference in a new issue