diff options
| author | jason | 2024-06-17 11:36:01 -0600 |
|---|---|---|
| committer | jason | 2024-06-17 11:36:36 -0600 |
| commit | c0848fca907dfa3ab3dc62fc65ffa17e85e69a26 (patch) | |
| tree | c6e526bcbea3f4a5bde333fde0adae1fd18d4743 | |
| parent | 7b37f178bac7549e83da784e9fc3701ef14a2448 (diff) | |
| download | dotfiles-c0848fca907dfa3ab3dc62fc65ffa17e85e69a26.tar.gz dotfiles-c0848fca907dfa3ab3dc62fc65ffa17e85e69a26.zip | |
support for nvm
| -rw-r--r-- | bash/.bashrc | 5 |
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" |
| 355 | fi | 355 | fi |
| 356 | 356 | ||
| 357 | if [ -d "$HOME/.nvm" ] && [ -s $HOME/.nvm/nvm.sh ]; then | ||
| 358 | export NVM_DIR="${HOME}/.nvm" | ||
| 359 | . "$NVM_DIR/nvm.sh" | ||
| 360 | fi | ||
| 361 | |||
| 357 | # If __git_ps1 is enabled, set that up. | 362 | # If __git_ps1 is enabled, set that up. |
| 358 | if [[ $(type -t __git_ps1) == function ]]; then | 363 | if [[ $(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 |