Talk:Fish: Difference between revisions
| Line 16: | Line 16: | ||
:The whole idea of `exec`-ing midway through bashrc is wildly unsafe. It silently breaks `nix develop` which sources the user's bashrc, it similarly breaks `devenv shell`, and it also disables any extra lines added to the NixOS option where it's used. | :The whole idea of `exec`-ing midway through bashrc is wildly unsafe. It silently breaks `nix develop` which sources the user's bashrc, it similarly breaks `devenv shell`, and it also disables any extra lines added to the NixOS option where it's used. | ||
:We (devenv) get several reports a week from NixOS users blindly copy-pasting this snippet. They don't understand why things are broken or even what `exec` does. All they read from the snippet is — "this is how you replace bash with fish. The NixOS wiki recommends it." [[User:Sandydoo|Sandydoo]] ([[User talk:Sandydoo|talk]]) 15:11, 30 May 2026 (UTC) | :We (devenv) get several reports a week from NixOS users blindly copy-pasting this snippet. They don't understand why things are broken or even what `exec` does. All they read from the snippet is — "this is how you replace bash with fish. The NixOS wiki recommends it." [[User:Sandydoo|Sandydoo]] ([[User talk:Sandydoo|talk]]) 15:11, 30 May 2026 (UTC) | ||
::I agree with you. I am a Nix(OS) noob, so I don't happen to use stuff like <code>nix develop</code> or <code>devenv</code>, so didn't (yet) encounter such problems as you described myself, but can see how that bashrc is problematic. | |||
::<br> | |||
::Since there has been no activity on this for 4 months, I think it's safe to remove the sections in question (don't forget that we also have the Darwin variant). Don't you mind doing the edits yourself? [[User:DHCP|DHCP]] ([[User talk:DHCP|talk]]) 21:11, 31 May 2026 (UTC) | |||