-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
zsh commands output by install.sh have syntax issues #3457
Comments
While you certainly shouldn’t be setting NODE_PATH with or without nvm, that “bad pattern” error is concerning. Does it continue to occur, or only during the install script? |
The bad pattern error is caused by the presence of For example:
So, these commands get added to my |
ahhh thanks for clarifying. It seems very strange that zsh would treat a line in a sourced script any differently from a line in the terminal directly; that seems like a huge bug farm. Is perhaps your shell non-interactive? Alternatively, have you altered the default behavior of the |
It is an interactive Zsh prompt and I made no changes to the behavior of |
what's |
|
my stock zsh has: combiningchars
interactive
monitor
shinstdin
zle so you have |
Operating system and version:
Linux 6.11.3-200.fc40.x86_64 # 1 SMP PREEMPT_DYNAMIC Thu Oct 10 22:31:19 UTC 2024 x86_64 GNU/Linux
nvm debug
output:nvm ls
output:How did you install
nvm
?What steps did you perform?
What happened?
I copied and pasted the lines as the install script instructed and they show errors in ZSH:
What did you expect to happen?
The commands output by the script should not have syntax errors.
Is there anything in any of your profile files that modifies the
PATH
?The text was updated successfully, but these errors were encountered: