From 515b71d5ab6296d16676b2d254e430f696616b28 Mon Sep 17 00:00:00 2001 From: erifranck jose nunez berroteran Date: Tue, 24 Feb 2026 21:03:41 -0500 Subject: [PATCH] Add(zsh-setting): support for nvm --- GentlemanZsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GentlemanZsh/.zshrc b/GentlemanZsh/.zshrc index 1a730c28..f9c23c75 100644 --- a/GentlemanZsh/.zshrc +++ b/GentlemanZsh/.zshrc @@ -7,6 +7,10 @@ fi export ZSH="$HOME/.oh-my-zsh" +# Detect 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 + # Detect Termux IS_TERMUX=0 if [[ -n "$TERMUX_VERSION" ]] || [[ -d "/data/data/com.termux" ]]; then