Skip to content
This repository was archived by the owner on Mar 16, 2022. It is now read-only.

Commit 51bbacd

Browse files
committed
Also look for nodenv in $HOME/.local/nodenv
1 parent 9273cdc commit 51bbacd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodenv.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FOUND_NODENV=0
2-
nodenvdirs=("$HOME/.nodenv" "/usr/local/opt/nodenv" "/usr/local/nodenv" "/opt/nodenv")
2+
nodenvdirs=("$HOME/.nodenv" "$HOME/.local/nodenv" "/usr/local/opt/nodenv" "/usr/local/nodenv" "/opt/nodenv")
33

44
for nodenvdir in "${nodenvdirs[@]}" ; do
55
if [ -d $nodenvdir/bin -a $FOUND_NODENV -eq 0 ] ; then

0 commit comments

Comments
 (0)