2015-02-27 01:27:14 -06:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
2012-01-31 23:37:51 -05:00
|
|
|
#
|
2012-09-03 16:38:18 -04:00
|
|
|
# Executes commands at the start of an interactive session.
|
2012-01-31 23:37:51 -05:00
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2012-09-03 16:08:39 -04:00
|
|
|
# Source Prezto.
|
2015-02-27 01:27:14 -06:00
|
|
|
if [[ -s "$DOTFILES/zprezto/init.zsh" ]]; then
|
|
|
|
source "$DOTFILES/zprezto/init.zsh"
|
2012-09-03 16:13:53 -04:00
|
|
|
fi
|
2011-07-17 20:15:51 -04:00
|
|
|
|
2009-09-07 09:11:34 -07:00
|
|
|
# Customize to your needs...
|
2015-02-27 01:27:14 -06:00
|
|
|
source_if_present() {
|
|
|
|
if [ -f "$1" ]; then
|
|
|
|
. "$1"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
# Reload profile
|
|
|
|
alias reload!=". $HOME/.zshrc"
|
|
|
|
|
|
|
|
path=(
|
|
|
|
$HOME/bin
|
|
|
|
$DOTFILES/bin
|
|
|
|
/usr/local/opt/coreutils
|
|
|
|
$path
|
|
|
|
)
|
|
|
|
|
|
|
|
source_if_present "$DOTFILES/system/load.sh"
|