Fish: Difference between revisions

QuBe (talk | contribs)
m Missing formatting
m Include a hint for people using Lix and using the interactive shell init script for launching fish
Line 186: Line 186:


For a more detailed explanation, please see the [https://wiki.archlinux.org/title/Fish#Modify_.bashrc_to_drop_into_fish aforementioned ArchWiki page].
For a more detailed explanation, please see the [https://wiki.archlinux.org/title/Fish#Modify_.bashrc_to_drop_into_fish aforementioned ArchWiki page].
If you are using Lix, you can change the grep condition to <code>"fish\|nix-shell"</code> so the <code>nix-shell</code> command still works, this is necessary since Lix forks before spawning the shell process so the parent process ends up being nix-shell and not fish.<ref>https://git.lix.systems/lix-project/lix/issues/1131#issuecomment-18341</ref>


↵If you still want to set fish as the login shell, see [[Command Shell#Changing the default shell]].
↵If you still want to set fish as the login shell, see [[Command Shell#Changing the default shell]].