From 9426f74fce33d1dd0e5b8f62ea427adf07b8df9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Fri, 9 Jan 2026 12:09:22 +0100 Subject: [PATCH] home/fish: wrap nix-.* calls with "command" in alias functions --- nix/homeModules/common/fish/functions/nix-build.fish | 4 ++-- nix/homeModules/common/fish/functions/nix-shell.fish | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/homeModules/common/fish/functions/nix-build.fish b/nix/homeModules/common/fish/functions/nix-build.fish index 8b074641..16bc1efc 100644 --- a/nix/homeModules/common/fish/functions/nix-build.fish +++ b/nix/homeModules/common/fish/functions/nix-build.fish @@ -1,7 +1,7 @@ function nix-build if type -q nom-build - nom-build $argv + command nom-build $argv else - nix-build $argv + command nix-build $argv end end diff --git a/nix/homeModules/common/fish/functions/nix-shell.fish b/nix/homeModules/common/fish/functions/nix-shell.fish index b108e9ed..d7ea11bf 100644 --- a/nix/homeModules/common/fish/functions/nix-shell.fish +++ b/nix/homeModules/common/fish/functions/nix-shell.fish @@ -1,7 +1,7 @@ function nix-shell if type -q nom-shell - nom-shell $argv + command nom-shell $argv else - nix-shell $argv + command nix-shell $argv end end