diff --git a/other.fish b/other.fish index 6b76737..7469898 100644 --- a/other.fish +++ b/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 +