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

I use nvm set-colors cgYmW set color. when I open iterm2 next. color reset to default #3209

Open
m5ultra opened this issue Sep 27, 2023 · 3 comments

Comments

@m5ultra
Copy link

m5ultra commented Sep 27, 2023

Operating system and version:

nvm debug output:

nvm ls output:

How did you install nvm?

What steps did you perform?

What happened?

What did you expect to happen?

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

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?

@m5ultra
Copy link
Author

m5ultra commented Sep 27, 2023

image color blue is not easy to see clearly.

@ljharb
Copy link
Member

ljharb commented Sep 28, 2023

nvm set-colors sets an environment variable, so if you want it to persist you need to add it into your shell profile file.

@naomiquinones
Copy link
Contributor

Hi @m5ultra, as @ljharb mentioned, try adding the colors to your computer's shell profile file. For example, if you are using a mac and it uses zsh, in the .zshrc file, you can add the following line:

export NVM_COLORS='cgYmW'

Save the change, and when you open a new iTerm2 window and run nvm ls, it should output with the colors you set

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

No branches or pull requests

3 participants