aboutsummaryrefslogtreecommitdiffstats
path: root/bash/.bashrc
diff options
context:
space:
mode:
authorjason2024-06-17 11:36:01 -0600
committerjason2024-06-17 11:36:36 -0600
commitc0848fca907dfa3ab3dc62fc65ffa17e85e69a26 (patch)
treec6e526bcbea3f4a5bde333fde0adae1fd18d4743 /bash/.bashrc
parent7b37f178bac7549e83da784e9fc3701ef14a2448 (diff)
downloaddotfiles-c0848fca907dfa3ab3dc62fc65ffa17e85e69a26.tar.gz
dotfiles-c0848fca907dfa3ab3dc62fc65ffa17e85e69a26.zip
support for nvm
Diffstat (limited to 'bash/.bashrc')
-rw-r--r--bash/.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 8ad71a3..18b04c5 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -354,6 +354,11 @@ if [ -d /opt/homebrew/opt/texinfo/bin ]; then
354 export PATH="/opt/homebrew/opt/texinfo/bin:$PATH" 354 export PATH="/opt/homebrew/opt/texinfo/bin:$PATH"
355fi 355fi
356 356
357if [ -d "$HOME/.nvm" ] && [ -s $HOME/.nvm/nvm.sh ]; then
358 export NVM_DIR="${HOME}/.nvm"
359 . "$NVM_DIR/nvm.sh"
360fi
361
357# If __git_ps1 is enabled, set that up. 362# If __git_ps1 is enabled, set that up.
358if [[ $(type -t __git_ps1) == function ]]; then 363if [[ $(type -t __git_ps1) == function ]]; then
359 GIT_PS1_SHOWDIRTYSTATE=1 # Show unstaged and staged indicators 364 GIT_PS1_SHOWDIRTYSTATE=1 # Show unstaged and staged indicators