You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would nice if .fnmrc file in parent directory would be applied to all child directories. This can be implemented by traversing the directory tree up while searching the .fnmrc file.
Example:
mkdir -p parent/children
cd parent
echo "6.9.3" > .fnmrc
node -v # Should be 6.9.3
cd children
node -v # Should also be 6.9.3
jorgebucaran
changed the title
Feature request: .fnmrc should be searched by traversing the directory tree up
Feature request: .nvmrc should be searched by traversing the directory tree up
Jan 9, 2019
jorgebucaran
changed the title
Feature request: .nvmrc should be searched by traversing the directory tree up
.nvmrc should be searched by traversing the directory tree up
Jan 9, 2019
@josalmi I finally did it. e2f6fb9 adds this behavior. It works by finding the nearest .nvmrc file, traversing the directory tree from the current working directory upwards.
It would nice if .fnmrc file in parent directory would be applied to all child directories. This can be implemented by traversing the directory tree up while searching the .fnmrc file.
Example:
mkdir -p parent/children
cd parent
echo "6.9.3" > .fnmrc
node -v # Should be 6.9.3
cd children
node -v # Should also be 6.9.3
See NVM
The text was updated successfully, but these errors were encountered: