-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Support nushell #109
Comments
Try enabling |
The first line is:
Then several errors about various programs not being found. |
Which programs? The intention here is that for non-posix shells like fish and nu, the shell is told to invoke |
Git, for example. Yeah, getting an equivalent path string from |
Ah right. The debug output should also display what
I know there are shell-specific ways of doing things, but I'm asking about how to run that |
Output related to
I assume that's because
Ah, gotcha!
|
I think this should be resolved by dff9ce3. |
Hmm, I updated and |
I tried clearing my local package repos and setting
With
|
Looks like Here are the invocations with various shells, with the same command passed each time:
fish:
nu:
Some special case handling would have to be done for |
I'll have to get back to you on that - I'm not a nushell expert yet, and can't figure it out myself right now. Is there a way for |
Relevant discussion here: nushell/nushell#6435 |
Looks like the nushell command that will work is |
@andrewbanchich Did you figure out how to get this working? I see you've shared a snippet, but I'm not sure whete it goes exactly. |
No I haven't. IIRC there would need to be some update to this package to support it. |
Alright, thank you for responding. I've moved away from Nushell for the time being. |
Okay, you guys nerd-sniped me. Maybe grab the code in #119 and let me know if it works for you? |
(I figured out that instead of the command above, I could construct a proper |
I'm sorry, that was not my intention. Ideally this shouldn't fall on the maintainer since the shell isn't POSIX(?) compliant. But also I'm grateful that you did! I'll check it in a bit and update you guys. 😄 |
Don't worry, I got genuinely curious. But I appreciate the sentiment! |
Confirmed, it does work from MELPA. |
Great, thanks @KaranAhlawat! |
After setting
nushell
as my default shell, I don't thinkexec-path-from-shell
is working correctly.The output of
(getenv "PATH")
looks like${PATH-kj1h2k34jh2kj3h4234}
.The text was updated successfully, but these errors were encountered: