mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
fix(exports): fix android paths
This commit is contained in:
11
exports.zsh
11
exports.zsh
@@ -40,11 +40,6 @@ if [[ -d "/opt/homebrew" ]]; then
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
export BREW_HOME="/usr/local"
|
||||
|
||||
if [[ -d "$HOME/Library/Android/sdk" ]]; then
|
||||
export ANDROID_HOME="$HOME/Library/Android/sdk"
|
||||
export ANDROID_SDK_ROOT="$BREW_HOME/bin"
|
||||
fi
|
||||
|
||||
if [[ -d "$BREW_HOME/opt/flex" ]]; then
|
||||
export LDFLAGS="-L$BREW_HOME/opt/flex/lib"
|
||||
export CPPFLAGS="-I$BREW_HOME/opt/flex/include"
|
||||
@@ -53,6 +48,12 @@ if [[ -d "/opt/homebrew" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -d "$HOME/Library/Android/sdk" ]]; then
|
||||
export ANDROID_HOME="$HOME/Library/Android/sdk"
|
||||
export ANDROID_SDK_ROOT="$BREW_HOME/bin"
|
||||
export PATH="$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$PATH"
|
||||
fi
|
||||
|
||||
# yamllint
|
||||
export YAMLLINT_CONFIG_FILE="$CFG/.yamllint.yml"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user