Fish: Difference between revisions
m Missing formatting |
m Replaced attr def with a inherit, does the same thing. |
||
| (One intermediate revision by one other user not shown) | |||
| Line 71: | Line 71: | ||
grc | grc | ||
# Use 3rd-party fish plugins manually packaged. | # Use 3rd-party fish plugins manually packaged. | ||
(pkgs.callPackage ../fish-colored-man.nix { | (pkgs.callPackage ../fish-colored-man.nix { inherit (pkgs.fishPlugins) buildFishPlugin; } ) | ||
]; | ]; | ||
</nowiki> | </nowiki> | ||
| 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]]. | ||