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
nu panics when using alias 'g' for git + push. #5179
Comments
can you do |
Sure! I clicked the submit button too fast!
|
oh, you're on the latest in linux. i'm on the windows and get the same error. |
are you using any custom completions? |
Nope, very new to nushell, don't know how to do that. |
I've just checked that starship has nothing to do with this, I mean, without the starship-prompt the error remains. |
i don't use starship and have the same error so i don't think it's invovled either. |
This is happening because Apparently this was a problem before the recent changes too. Generally aliasing known externals behaves weirdly (and incorrectly). |
Thanks for the info!
In this case I get another error when using it:
|
Yeah, this is related, thanks for pointing it out! I'll take a look over the weekend, hopefully we'll get it fixed. |
@antoniocorbi could you try the latest |
Hi @filaretov ! It seems to be working for me right now, Thanks for your help and support. |
That's great to hear! Thanks for filing the issue and have fun with nushell. |
nice, let's close this then. |
Hi all,
I've got an alias for git like this:
alias g = git
And when I use it for pushing changes in any git repo, like this:
g push
I always get this error (nu panics):
It doesn't panics with other git subcommands, i.e. 'pull':
g pull
Works ok.
The text was updated successfully, but these errors were encountered: