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
'command not found' prompting after every command execution #192
Comments
Do you want to see nvm/node segment? |
I just got this too & just removed it IMHO it is quite annoying from a user's perspective that |
@zyphrus it divides users' requirements at some point which is (I think) harder to implement: some would only like the prompt to appear in project directories, and others would want to see them all the time, to see if they want an adhoc REPL then which version are they going to use. Your concern about the features not working in a consistent way is real and thanks for bringing that up. |
Why can't is check if npm is installed, and if not, disable it in the prompt? |
I just spent an embarrassing amount of time figuring out how to only remove
I'm sure shell ninjas will spot several edge cases where this wouldn't work as expected, but I guess it's good enough for my current purposes. The biggest potential problem I see is that the pattern matching isn't restricted to word boundaries, so it could, conceivably, modify more than one entry. But I'm not too concerned about it because the breakage in this case is loud:
If anybody can tell me how to restrict the match to word boundaries, I'd be much obliged. UPDATE This seems to do the trick:
It (still) operates on each element, but adding |
Does installing node require a reboot before the error stops? |
opening a new console should solve it. if not, try reloging in. |
This is connected to #212 - closing in favor of it. |
Hello,
I just changed my zsh theme today to
bullet train
and I noticed that it prompts the message below upon starting the terminal and after every command execution.Herewith attached is a screenshot of it.
Cheers!
The text was updated successfully, but these errors were encountered: