Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit a575866

Browse files
committed
Merge pull request #56 from DanielWright/patch-1
Fixes nodejs.sh
2 parents 2ff0442 + a807f4b commit a575866

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/nodejs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export PATH=$NODENV_ROOT/bin:$PATH
88
# Load nodenv
99
eval "$(nodenv init -)"
1010

11+
export PATH=./node_modules/.bin:$PATH
12+
1113
# Helper for shell prompts and the like
1214
current_node() {
13-
echo "$(nodenv version-name)"
15+
echo "$(nodenv version)"
1416
}

0 commit comments

Comments
 (0)