summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-17 14:04:05 +0200
committerAlan Pearce2019-10-17 14:04:05 +0200
commit27a7522b57e93670b142afc8de57d2c111f697a0 (patch)
tree71e27603935cf76e4bbd203928d7b1bf6491d9e9
parent19420390a4e0c8fcc8fb63dc126be65ba85d9f34 (diff)
downloadnixfiles-27a7522b57e93670b142afc8de57d2c111f697a0.tar.lz
nixfiles-27a7522b57e93670b142afc8de57d2c111f697a0.tar.zst
nixfiles-27a7522b57e93670b142afc8de57d2c111f697a0.zip
zsh: add npm aliases
-rw-r--r--user/settings/zsh.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index 75e0ee0d..04bcf68c 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -251,6 +251,21 @@ in
       pli = "pnpm link";
       pul = "pnpm unlink";
 
+      np = "npm";
+      npi = "npm install";
+      npl = "npm ls";
+      npr = "npm run";
+      npb = "npm run build";
+      nprb = "npm run build";
+      npa = "npm install --save";
+      npad = "npm install --save-dev";
+      npd = "npm uninstall";
+      npt = "npm test";
+      npup = "npm update";
+      nppr = "npm prune";
+      npli = "npm link";
+      npul = "npm unlink";
+
       hos = "home-manager switch";
       hon = "home-manager news";
       hoh = "home-manager-help";