home/fish: fix nix-* functions check

This commit is contained in:
Primrose 2026-01-04 15:54:05 +01:00
parent 0308024ce3
commit a35f7b6530
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
function nix-build
if type -q nix-build
if type -q nom-build
nom-build $argv
else
nix-build $argv

View file

@ -1,5 +1,5 @@
function nix-shell
if type -q nix-shell
if type -q nom-shell
nom-shell $argv
else
nix-shell $argv