fish: make {nix,nom}-shell use fish

This commit is contained in:
Primrose 2025-06-28 14:28:57 +02:00
parent 28b987bf6d
commit 5b7fe1dae8
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -6,7 +6,7 @@
programs.fish = { programs.fish = {
shellAbbrs = lib.mergeAttrsList [ shellAbbrs = lib.mergeAttrsList [
(lib.optionalAttrs pkgs.stdenv.isLinux { (lib.optionalAttrs pkgs.stdenv.isLinux {
"," = "nix-shell --command fish -p"; "," = "nix-shell -p";
}) })
]; ];
@ -20,6 +20,10 @@
# idiot protection # idiot protection
chmod = "chmod --preserve-root"; chmod = "chmod --preserve-root";
chown = "chown --preserve-root"; chown = "chown --preserve-root";
# I can't make alias with a space, i.e. `nom shell`
nix-shell = "nix-shell --command fish";
nom-shell = "nom-shell --command fish";
}) })
]; ];
}; };