From d17efc051d99e27abd44655acaf508e360c41bac Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 12 Dec 2024 08:14:18 +0100 Subject: refactor: move part-specifics out of .zshrc --- user/zsh/zshrc-dev.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 user/zsh/zshrc-dev.sh (limited to 'user/zsh/zshrc-dev.sh') 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) -- cgit v1.2.3