Skip to content

Ability to configure what rc/profile file nvm installs into #2188

Open
@rektide

Description

@rektide

Operating system and version:

Debian/unstable.

How did you install nvm?

Ran the installer.

What steps did you perform?

Installed with the standard install script. Tried to use ansible.

What happened?

#2174. Ansible started a non-interactive login shell & did not start nvm.

What did you expect to happen?

I would have liked some way to, on install, control how & where nvm installed itself into my shell and/or shells. A supplemental environment variable for the installer that let me specify that I prefer .zshenv/.bash_profile over the significantly less used/less useful .zshrc/.bashrc files would have given me an install preference to install nvm in a way that would be useful in more situations, available to more systems, such as Ansible.

This change by nvm would go a long way towards helping users such as those in #2174 make more active use of nvm wherever they need it.

Is there anything in any of your profile files that modifies the PATH?

Oh heck yes tons of things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions