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