update zshrc

This commit is contained in:
Enrico Fasoli 2015-09-25 17:36:06 +02:00
parent 60b0dad338
commit 3166d02486

View File

@ -10,13 +10,16 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Use local npm prefix
# Custom stuff
#
export NPM_CONFIG_PREFIX=~/.npm_prefix
export EDITOR=vim
export VISUAL=vim
export EDITOR=nvim
export VISUAL=nvim
export PATH=$PATH:$NPM_CONFIG_PREFIX/bin
alias ncmpcpp="ncmpcpp -c ~/.config/ncmpcpp/config"
alias ncmpcpp="ncmpcpp -c ~/.config/ncmpcpp/config"
alias vi=nvim
alias vim=nvim
searchpkg () {
nix-env -qaP '*' --description | grep $1