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

fix_path_env::fix()? fails when using nushell as default shell #14

Open
MylesWritesCode opened this issue Dec 19, 2023 · 0 comments
Open

Comments

@MylesWritesCode
Copy link

MylesWritesCode commented Dec 19, 2023

Using nushell, I get the following error while using this crate.

  × Missing flag argument.
   ╭─[source:1:1]
 1 │ nu -ilc
   ·    ──┬─
   ·      ╰── flag missing string argument
   ╰────                                     

Running my app by changing the shell environment works as expected (i.e. SHELL=$(which zsh) cargo tauri dev).

I think it might be good to handle the error on line 37 (lib.rs), and use the default shell if that fails. Thoughts?

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

1 participant