.zshrc sample / m2 macbook /20230511
export PATH="/opt/homebrew/Cellar/mongodb-community/6.0.1/bin:${PATH}"
export HISTSIZE=1000000000
export SAVEHIST=$HISTSIZE
setopt EXTENDED_HISTORY
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
# rosetta terminal setup
if [ $(arch) = "i386" ]; then
alias brew86="/usr/local/bin/brew"
alias pyenv86="arch -x86_64 pyenv"
fi
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/shims:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/henry.yang/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/firstname.lastname/Downloads/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/firstname.lastname/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/firstname.lastname/Downloads/google-cloud-sdk/completion.zsh.inc'; fi
留言
張貼留言