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

Add --no-use sourcing option to bypass auto-use behavior #972

Closed
Nolski opened this issue Jan 20, 2016 · 1 comment
Closed

Add --no-use sourcing option to bypass auto-use behavior #972

Nolski opened this issue Jan 20, 2016 · 1 comment
Assignees
Labels
feature requests I want a new feature in nvm! shell: fish

Comments

@Nolski
Copy link

Nolski commented Jan 20, 2016

This isn't necessarily a bug but it bring a big pain point when using nvm in fish since nvm.sh needs to be sources prior to every command if we're using bass which allows the fish shell to run bash commands. There is a tracking bug in edc/bass for this as well.

@ljharb
Copy link
Member

ljharb commented Jan 20, 2016

This is entirely by design. I commented in edc/bass#13 (comment) with a suggestion.

I will leave this open per edc/bass#13 (comment) in case I can add a workaround.

@ljharb ljharb added feature requests I want a new feature in nvm! shell: fish labels Jan 20, 2016
@ljharb ljharb changed the title nvm switches to default every time when sourced Add --no-use sourcing option to bypass auto-use behavior Jan 20, 2016
@ljharb ljharb self-assigned this Jan 20, 2016
@ljharb ljharb closed this as completed in 4fcf37f Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature requests I want a new feature in nvm! shell: fish
Projects
None yet
Development

No branches or pull requests

2 participants