Fish, add nix-your-shell to fish

This commit is contained in:
Julia Lange 2025-05-22 09:04:33 -07:00
parent f5962d1d27
commit 2cde55691b
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
let
functionModule = with lib.types; submodule {
options = {
@ -21,6 +21,9 @@ in {
config = lib.mkIf config.fish.enable {
programs.fish = {
enable = true;
interactiveShellInit = ''
${pkgs.nix-your-shell}/bin/nix-your-shell fish | source
'';
functions = {
fish_greeting = "";
fish_prompt = ''