prezto/runcoms/zshrc
2015-09-25 17:36:06 +02:00

27 lines
524 B
Bash

#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# 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
}