From 2d524a06ac8c28460a403e49c5c8693fc9c52ee9 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 24 Jan 2024 22:17:40 +0300 Subject: [PATCH] Android : Rename default emulator to main. --- .config/bash/module/Android.sh | 4 ++-- .doc/Bash.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/bash/module/Android.sh b/.config/bash/module/Android.sh index 9725d66..f51d235 100644 --- a/.config/bash/module/Android.sh +++ b/.config/bash/module/Android.sh @@ -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 } diff --git a/.doc/Bash.md b/.doc/Bash.md index 2273841..32454dd 100644 --- a/.doc/Bash.md +++ b/.doc/Bash.md @@ -14,7 +14,7 @@ $ h 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.