Skip to content

Commit

Permalink
refactor(zsh): use shellenv from homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
kutsan committed Aug 11, 2024
1 parent aaafa98 commit b3fb943
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .config/zsh/config/exports.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ path=(

# macOS specific exports.
if ([[ $OSTYPE =~ 'darwin*' ]]) {
eval "$(/opt/homebrew/bin/brew shellenv)"

export ANDROID_HOME="$HOME/Library/Android/sdk"
export JAVA_HOME="/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home"

path=(
'/opt/homebrew/bin'
"$ANDROID_HOME/emulator"
"$ANDROID_HOME/platform-tools"
$path
Expand Down

0 comments on commit b3fb943

Please sign in to comment.