nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
6.86k stars 1.8k forks source link

yazi enable<shell>Integration conflicts with zoxide enable<shell>Integration #5941

Open sigboe opened 5 days ago

sigboe commented 5 days ago

https://github.com/nix-community/home-manager/blob/2f23fa308a7c067e52dfcc30a0758f47043ec176/modules/programs/yazi.nix#L14

replacing cd -- "$cwd" with builtin cd -- "$cwd"

tested in zsh and bash, starting fish and running builtin cd it seams to act the same.

nushell, I have no idea how to bypass aliases in nushell

sigboe commented 2 days ago

I noticed after posting this that yazi's documentation also has this fix, I imagine they probably didn't when this home manager option was written.

https://yazi-rs.github.io/docs/quick-start

They also don't have a solution for nushell, so I guess I don't feel as bad for not finding it on my own either