summaryrefslogtreecommitdiff
path: root/user/zsh/zshrc-dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'user/zsh/zshrc-dev.sh')
-rw-r--r--user/zsh/zshrc-dev.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/zsh/zshrc-dev.sh b/user/zsh/zshrc-dev.sh
new file mode 100644
index 0000000..484007d
--- /dev/null
+++ b/user/zsh/zshrc-dev.sh
@@ -0,0 +1,11 @@
+# This file is sourced by .zshrc if parts/dev.nix was imported.
+
+## Aliases
+alias code='codium'
+alias tokei='tokei -s code -n commas'
+
+## Environment variables
+export NPM_CONFIG_PREFIX="$HOME/.local/npm"
+
+path+=~/.cargo/bin
+path+=($NPM_CONFIG_PREFIX/bin)