mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
home/fish: wrap nix-.* calls with "command" in alias functions
This commit is contained in:
parent
4728a44721
commit
9426f74fce
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue