home/fish: wrap nix-.* calls with "command" in alias functions

This commit is contained in:
Primrose 2026-01-09 12:09:22 +01:00
parent 4728a44721
commit 9426f74fce
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
function nix-build function nix-build
if type -q nom-build if type -q nom-build
nom-build $argv command nom-build $argv
else else
nix-build $argv command nix-build $argv
end end
end end

View file

@ -1,7 +1,7 @@
function nix-shell function nix-shell
if type -q nom-shell if type -q nom-shell
nom-shell $argv command nom-shell $argv
else else
nix-shell $argv command nix-shell $argv
end end
end end