Skip to content

Commit

Permalink
Merge branch 'LnL7:master' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
thuvasooriya authored Dec 29, 2024
2 parents 12962d6 + 53a0c2f commit 17b97a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion modules/programs/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ in
type = types.bool;
};

package = lib.mkPackageOption pkgs "fish" { };

useBabelfish = mkOption {
type = types.bool;
default = false;
Expand Down Expand Up @@ -238,7 +240,7 @@ in
++ optional cfg.vendor.functions.enable "/share/fish/vendor_functions.d";
}

{ systemPackages = [ pkgs.fish ]; }
{ systemPackages = [ cfg.package ]; }
];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/programs/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ in
}
${optionalString cfg.enableFastSyntaxHighlighting
"source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh-fast-syntax-highlighting/zsh-fast-syntax-highlighting.zsh"
"source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh"
}
${optionalString cfg.enableFzfCompletion "source ${fzfCompletion}"}
Expand Down

0 comments on commit 17b97a2

Please sign in to comment.