Chunk & Split zshrc into smaller files

This commit is contained in:
pfych 2025-02-19 13:47:48 +11:00
parent 1314b22f27
commit 7fd48fb729
5 changed files with 57 additions and 51 deletions

11
.config/zsh/darwin.sh Normal file
View file

@ -0,0 +1,11 @@
if [[ $(uname -m) == 'arm64' ]]; then
# Homebrew has a different location on M series devices
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
export ANDROID_SDK_ROOT=/Users/$USER/Library/Android/sdk
eval "$(rbenv init - zsh)"
alias date=gdate;