From b5253abb26d7570cd9d6dbfdf13407c4ed840777 Mon Sep 17 00:00:00 2001 From: Misomosi Date: Wed, 24 Sep 2025 17:47:36 -0400 Subject: [PATCH] Slight changes to bashrc,asvarsall.sh --- .bashrc | 3 +++ .local/bin/asvarsall.sh | 1 - README.md | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index b4f9ec1..3df64f1 100644 --- a/.bashrc +++ b/.bashrc @@ -10,3 +10,6 @@ alias gdb="gdb-posix" # If you use X, then xclip is what you're looking for alias tmux-copy="tmux show-buffer | wl-copy" alias tmux-paste="wl-paste" + +# Android Studio SDK, NDK, CLI tools variables (similar to vcvarsall) +source asvarsall.sh diff --git a/.local/bin/asvarsall.sh b/.local/bin/asvarsall.sh index a271aa1..f36043b 100644 --- a/.local/bin/asvarsall.sh +++ b/.local/bin/asvarsall.sh @@ -11,4 +11,3 @@ PLATFORM_BIN="$ANDROID_SDK_HOME/platform-tools" CMDLINE_BIN="$ANDROID_SDK_HOME/cmdline-tools/latest/bin" LLVM_BIN="$(echo "$ANDROID_NDK_HOME"/toolchains/llvm/prebuilt/linux-*/bin)" export PATH="$LLVM_BIN:$CMDLINE_BIN:$PLATFORM_BIN:$PATH" -"$SHELL" diff --git a/README.md b/README.md index 0ba49ac..899823e 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,9 @@ alias gdb="gdb-posix -ex 'source .breakpoints'" # If you use X, then xclip is what you're looking for alias tmux-copy="tmux show-buffer | wl-copy" alias tmux-paste="wl-paste" + +# Android Studio SDK, NDK, CLI tools variables (similar to vcvarsall) +source asvarsall.sh ``` ## gdb-posix @@ -202,5 +205,4 @@ PLATFORM_BIN="$ANDROID_SDK_HOME/platform-tools" CMDLINE_BIN="$ANDROID_SDK_HOME/cmdline-tools/latest/bin" LLVM_BIN="$(echo "$ANDROID_NDK_HOME"/toolchains/llvm/prebuilt/linux-*/bin)" export PATH="$LLVM_BIN:$CMDLINE_BIN:$PLATFORM_BIN:$PATH" -"$SHELL" ``` -- 2.49.1