prezto/runcoms/zshrc

33 lines
504 B
Bash
Raw Normal View History

#!/usr/bin/env zsh
2012-01-31 23:37:51 -05: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>
#
# Source Prezto.
if [[ -s "$DOTFILES/zprezto/init.zsh" ]]; then
source "$DOTFILES/zprezto/init.zsh"
2012-09-03 16:13:53 -04:00
fi
# Customize to your needs...
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"