Skip to content

Instantly share code, notes, and snippets.

@gerwld
Last active September 28, 2024 15:31
Show Gist options
  • Save gerwld/ac77e3548dee9bf9681fd0f72d911d05 to your computer and use it in GitHub Desktop.
Save gerwld/ac77e3548dee9bf9681fd0f72d911d05 to your computer and use it in GitHub Desktop.
zsh config base
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to Oh My Zsh installation & source
export ZSH="$HOME/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
# Path to Android SDK, platform-tools, commandlinetools
export ANDROID_HOME=/usr/local/share/android-commandlinetools
export PATH=$PATH:$ANDROID_HOME/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
# Path to java JVM
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
# or
# export JAVA_HOME=$(/usr/libexec/java_home -v 17)
# No update
HOMEBREW_NO_AUTO_UPDATE="1"
# Theme
ZSH_THEME="robbyrussell"
# plugins
plugins=(git)
# pnpm
export PNPM_HOME="/Users/apple/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment