Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically call ndenv rehash on calling npm/yarn #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zakame
Copy link

@zakame zakame commented Aug 30, 2016

Adapted from tokuhirom/plenv#30

[ -n "\$NDENV_DEBUG" ] && set -x

program="\${0##*/}"
export NDENV_ROOT="/home/zakame/.ndenv"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/home/zakame/.ndenv ?

zakame added 2 commits August 31, 2016 09:46
`$NDENV_ROOT` got expanded while importing :/  Thanks @devinus !
`yarn global add` can now call `ndenv rehash` after installing global
commands.
@zakame zakame changed the title Automatically call ndenv rehash on calling npm Automatically call ndenv rehash on calling npm/yarn Nov 7, 2016
@zakame
Copy link
Author

zakame commented Nov 7, 2016

Updated to support yarn global add :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants