Skip to content

Commit

Permalink
explicitly referenced the nvm path
Browse files Browse the repository at this point in the history
based on the workaround mentioned here: nvm-sh/nvm#617 (comment)
  • Loading branch information
travi committed Jan 30, 2018
1 parent 670a18b commit 9fac159
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions osx/source.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/bash
#shellcheck disable=SC1090

# OSX-only stuff. Abort if not OSX.
[[ "$OSTYPE" == darwin* ]] || return 1

#shellcheck disable=SC1090
source "$(brew --prefix nvm)/nvm.sh"
#shellcheck disable=SC1090
source ~/.files/gpg/init.sh
#shellcheck disable=SC1090

# source "$(brew --prefix nvm)/nvm.sh"
export NVM_DIR="$(realpath $HOME/.nvm)"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

[[ -s ~/.avn/bin/avn.sh ]] && source ~/.avn/bin/avn.sh

0 comments on commit 9fac159

Please sign in to comment.