~xdavidwu/dotfiles

cbb53193f79871c9a60b22ef408180cdd69910a6 — xdavidwu 2 years ago 79177be
bash: android-sdk: add platform-tools to tail of path
1 files changed, 5 insertions(+), 1 deletions(-)

M .bash_profile
M .bash_profile => .bash_profile +5 -1
@@ 50,6 50,10 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export GTK_IM_MODULE=wayland
export QT_IM_MODULE=fcitx

[ ! -d "$ANDROID_HOME" ] && [ ! -d "$ANDROID_SDK_ROOT" ] && [ -d ~/android-sdk ] && export ANDROID_SDK_ROOT=~/android-sdk
if [ ! -d "$ANDROID_HOME" ] && [ ! -d "$ANDROID_SDK_ROOT" ] && [ -d ~/android-sdk ]; then
	export ANDROID_SDK_ROOT=~/android-sdk
	# platform-tools also contains stuff like mke2fs, sqlite3
	PATH="$PATH:$ANDROID_SDK_ROOT/platform-tools"
fi

[[ -f ~/.bashrc ]] && . ~/.bashrc