summaryrefslogtreecommitdiff
path: root/user/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'user/zsh/.zshrc')
-rw-r--r--user/zsh/.zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/zsh/.zshrc b/user/zsh/.zshrc
index 72e6425..2e9d521 100644
--- a/user/zsh/.zshrc
+++ b/user/zsh/.zshrc
@@ -22,7 +22,9 @@ function ls() {
}
## Aliases
+alias code='codium'
alias ls='ls --color=auto --group-directories-first' # see also ls function
+alias tokei='tokei -s code -n commas'
alias tree='tree -aI .git --dirsfirst'
## Shell variables
@@ -49,6 +51,12 @@ export XDG_CACHE_HOME=$HOME/.cache
export XDG_CONFIG_HOME=$HOME/.config
export EDITOR=vim
+export INPUTRC=$XDG_CONFIG_HOME/readline/inputrc
+export NPM_CONFIG_PREFIX="$HOME/.local/npm"
+export PYTHON_BASIC_REPL=1 # use readline (Python >=3.13 defaults to its own REPL which has no vi keybindings)
+
+export PATH="$PATH:$HOME/.cargo/bin"
+export PATH="$PATH:$NPM_CONFIG_PREFIX/bin"
## Completion
autoload -Uz compinit