prezto/runcoms/zshrc
2015-08-27 15:05:36 +00:00

23 lines
447 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
# Use local npm prefix
export NPM_CONFIG_PREFIX=~/.npm_prefix
export EDITOR=vim
export VISUAL=vim
export PATH=$PATH:$NPM_CONFIG_PREFIX/bin
searchpkg () {
nix-env -qaP '*' --description | grep $1
}