Skip to content

Instantly share code, notes, and snippets.

@justinttl
Created February 8, 2024 01:17
Show Gist options
  • Save justinttl/5218f5d67278ac05c0079cb365a67daf to your computer and use it in GitHub Desktop.
Save justinttl/5218f5d67278ac05c0079cb365a67daf to your computer and use it in GitHub Desktop.
Basic zsh configs for homebrew, nvm, pyenv, poetry, rust
# Homebrew
export PATH="/usr/local/bin:${PATH}"
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# Pyenv
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
# Poetry
export PATH="$HOME/.local/bin:$PATH"
# Rust
. "$HOME/.cargo/env"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment