# # Executes commands at the start of an interactive session. # # Authors: # Sorin Ionescu # # Source Prezto. if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi # Custom stuff # export NPM_CONFIG_PREFIX=~/.npm_prefix export EDITOR=nvim export VISUAL=nvim export PATH=$PATH:$NPM_CONFIG_PREFIX/bin alias ncmpcpp="ncmpcpp -c ~/.config/ncmpcpp/config" alias vi=nvim alias vim=nvim searchpkg () { nix-env -qaP '*' --description | grep $1 }