From: Misomosi Date: Wed, 24 Sep 2025 21:47:36 +0000 (-0400) Subject: Slight changes to bashrc,asvarsall.sh X-Git-Url: http://git.misomosispi.com/?a=commitdiff_plain;h=b5253abb26d7570cd9d6dbfdf13407c4ed840777;p=dotfiles.git Slight changes to bashrc,asvarsall.sh --- 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" ```