Skip to content

Instantly share code, notes, and snippets.

@dnnsmnstrr
Created March 22, 2025 22:06
Show Gist options
  • Save dnnsmnstrr/02157dd027b7d368f92990d7c4cf0fc8 to your computer and use it in GitHub Desktop.
Save dnnsmnstrr/02157dd027b7d368f92990d7c4cf0fc8 to your computer and use it in GitHub Desktop.
My zshrc file
# NVM
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment