-
Notifications
You must be signed in to change notification settings - Fork 354
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 support #36
Comments
Here's where we set How should it be adapted for zsh? |
I guess with devenv your actual shell is bash and not your configured one. I guess the |
@domenkozar , I think the author wanted devenv to launch zsh rather than bash. It's not about We can't really compare to direnv, it's a different beast, a more fair would be a comparison to nix-shell. It too launches There's a 7-year old issue about supporting shells other than bash in nix-shell. It's still open 🙈 @kubukoz , one way to check your shell from within is
|
Yeah, this is the main thing keeping me from using direnv+devenv over direnv+mkShell... forcing people into using bash isn't an option for me. |
@manveru I'd really like to fix this but I'm not sure how to reproduce the issue. |
I have this in
and it starts a new bash instead of exporting the environment to zsh. |
And this otherwise works with |
Yeah, I don't use |
https://ianthehenry.com/posts/how-to-learn-nix/nix-zshell/ shows just how painful it is to support |
any-nix-shell manages to make |
The following is sufficient for me: enterShell = ''
exec fish
''; I also have this for my prompt (fish) specifically for if test -n "$IN_NIX_SHELL"
set_color cyan; printf "[nix-shell] "; set_color normal
end |
Hello! Ran into this problem today. When using plain Nix flakes, I use |
While this works, it kinda gets annoying when working with services, running |
Especially when used with direnv - it'd be nice to keep a similar UX to what plain Nix with flakes does.
devenv:
direnv with flakes:
The text was updated successfully, but these errors were encountered: