source /Users/farhad/.my-dot-files/zshrc.conf source /Users/farhad/.my-dot-files/legacy/.aliases if [[ $(uname -m) == "x86_64" ]]; then echo "x86_64 detected" export PATH=/usr/local/Homebrew/bin:$PATH else echo "arm64 detected" # the following line prioritize the arm brew's installation export PATH=/opt/homebrew/bin:$PATH fi # php export PATH=$PATH:$/usr/local/opt/php@7.4/bin export PATH=$PATH:/usr/local/opt/php@7.4/sbin # nvm [ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh" # This loads nvm [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion export NVM_DIR=~/.nvm # gcloud # The next line updates PATH for the Google Cloud SDK. if [ -f '/usr/local/google/google-cloud-sdk/path.zsh.inc' ]; then . '/usr/local/google/google-cloud-sdk/path.zsh.inc'; fi # The next line enables shell command completion for gcloud. if [ -f '/usr/local/google/google-cloud-sdk/completion.zsh.inc' ]; then . '/usr/local/google/google-cloud-sdk/completion.zsh.inc'; fi # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. export PATH="$PATH:$HOME/.rvm/bin"