summaryrefslogtreecommitdiff
path: root/user/zsh/zshrc-dev.sh
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-12 08:14:18 +0100
committerMartin Fischer <martin@push-f.com>2024-12-12 08:14:18 +0100
commitd17efc051d99e27abd44655acaf508e360c41bac (patch)
treef83607c9378403270c9aca1f682a06cec7bb741b /user/zsh/zshrc-dev.sh
parent2cac94f9c3aa9797a8b86921cb01c96eee013a7f (diff)
refactor: move part-specifics out of .zshrc
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)