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-09-25 17:36:06 +02:00
|
|
|
# Custom stuff
|
|
|
|
#
|
2015-08-25 12:41:23 +02:00
|
|
|
export NPM_CONFIG_PREFIX=~/.npm_prefix
|
2015-09-25 17:36:06 +02:00
|
|
|
export EDITOR=nvim
|
|
|
|
export VISUAL=nvim
|
2015-08-25 12:41:23 +02:00
|
|
|
export PATH=$PATH:$NPM_CONFIG_PREFIX/bin
|
2015-08-27 17:03:44 +02:00
|
|
|
|
2015-09-25 17:36:06 +02:00
|
|
|
alias ncmpcpp="ncmpcpp -c ~/.config/ncmpcpp/config"
|
|
|
|
alias vi=nvim
|
|
|
|
alias vim=nvim
|
2015-08-27 17:03:44 +02:00
|
|
|
|
|
|
|
searchpkg () {
|
|
|
|
nix-env -qaP '*' --description | grep $1
|
|
|
|
}
|