From 27a7522b57e93670b142afc8de57d2c111f697a0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 17 Oct 2019 14:04:05 +0200 Subject: zsh: add npm aliases --- user/settings/zsh.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'user/settings/zsh.nix') 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"; -- cgit 1.4.1