From 5b7fe1dae8b3845248e5ba2578b879dcd7ef1029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 28 Jun 2025 14:28:57 +0200 Subject: [PATCH] fish: make {nix,nom}-shell use fish --- nix/homeModules/common/fish/aliasesAbbrs.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/homeModules/common/fish/aliasesAbbrs.nix b/nix/homeModules/common/fish/aliasesAbbrs.nix index dd8feb54..9352f767 100644 --- a/nix/homeModules/common/fish/aliasesAbbrs.nix +++ b/nix/homeModules/common/fish/aliasesAbbrs.nix @@ -6,7 +6,7 @@ programs.fish = { shellAbbrs = lib.mergeAttrsList [ (lib.optionalAttrs pkgs.stdenv.isLinux { - "," = "nix-shell --command fish -p"; + "," = "nix-shell -p"; }) ]; @@ -20,6 +20,10 @@ # idiot protection chmod = "chmod --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"; }) ]; };