2012-02-01 05:37:51 +01:00
|
|
|
#
|
2012-09-03 22:38:18 +02:00
|
|
|
# Executes commands at the start of an interactive session.
|
2012-02-01 05:37:51 +01:00
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2012-09-03 22:08:39 +02:00
|
|
|
# Source Prezto.
|
2012-09-03 22:13:53 +02:00
|
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
|
|
fi
|
2011-07-18 02:15:51 +02:00
|
|
|
|
2015-08-25 12:41:23 +02:00
|
|
|
# Use local npm prefix
|
|
|
|
export NPM_CONFIG_PREFIX=~/.npm_prefix
|
2015-08-27 17:03:44 +02:00
|
|
|
export EDITOR=vim
|
|
|
|
export VISUAL=vim
|
2015-08-25 12:41:23 +02:00
|
|
|
export PATH=$PATH:$NPM_CONFIG_PREFIX/bin
|
2015-09-02 19:52:00 +02:00
|
|
|
alias ncmpcpp="ncmpcpp -c ~/.config/ncmpcpp/config"
|
2015-08-27 17:03:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
searchpkg () {
|
|
|
|
nix-env -qaP '*' --description | grep $1
|
|
|
|
}
|