refactor(zsh): update android/java env vars
This commit is contained in:
parent
f780b40b0d
commit
185c1eeda0
3 changed files with 8 additions and 3 deletions
7
zsh/.config/oh-my-zsh/custom/android.zsh
Normal file
7
zsh/.config/oh-my-zsh/custom/android.zsh
Normal file
|
@ -0,0 +1,7 @@
|
|||
export JAVA_HOME=/usr/lib/jvm/default
|
||||
export ANDROID_HOME=$XDG_DATA_HOME/android/sdk
|
||||
export PATH=$PATH:$ANDROID_HOME/tools
|
||||
export PATH=$PATH:$ANDROID_HOME/tools/bin
|
||||
export PATH=$PATH:$ANDROID_HOME/platform-tools
|
||||
export PATH=$PATH:$ANDROID_HOME/emulator
|
||||
export ANDROID_SDK_HOME=$XDG_CONFIG_HOME/android
|
|
@ -1,8 +1,5 @@
|
|||
# Export $GOPATH
|
||||
export GOPATH=$HOME/go
|
||||
|
||||
# Always use Go modules, even inside GOPATH
|
||||
export GO111MODULE=on
|
||||
|
||||
# Add Go binary directory to $PATH
|
||||
export PATH="$PATH:$GOPATH/bin"
|
||||
|
|
|
@ -45,3 +45,4 @@ export TZ=:/etc/localtime
|
|||
# ensure system is aware of browser/editor preference
|
||||
export BROWSER="firefox-nightly"
|
||||
export EDITOR="nvim"
|
||||
|
||||
|
|
Loading…
Reference in a new issue