From c16ecd1495ed60ab56c58128583115bf28362aa0 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Tue, 11 Jul 2023 16:23:43 +0100 Subject: [PATCH] Add n20add --- other.fish | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +