Add n20add
This commit is contained in:
parent
67d7b0a9f6
commit
c16ecd1495
10
other.fish
10
other.fish
@ -11,6 +11,10 @@ function nixsh
|
||||
nix-shell --run "fish" -p $argv
|
||||
end
|
||||
|
||||
function nixdev
|
||||
nix develop -c fish
|
||||
end
|
||||
|
||||
function n14
|
||||
export NIXPKGS_ALLOW_INSECURE 1
|
||||
NIXPKGS_ALLOW_INSECURE=1 nixsh nodejs-slim_14 yarn nodePackages.svelte-language-server nodePackages.npm $argv
|
||||
@ -38,3 +42,9 @@ alias n18pl="n18 --run 'pnpm prod-local'"
|
||||
alias n20="nixsh nodejs-slim_20 yarn nodePackages.svelte-language-server"
|
||||
alias n20dev="n20 --run 'pnpm dev'"
|
||||
alias n20pl="n20 --run 'pnpm prod-local'"
|
||||
alias n20add="n20 --run pnpm add"
|
||||
|
||||
function n20add
|
||||
n20 --run "pnpm add $argv"
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user