prezto/runcoms/zshrc
2016-11-23 12:20:08 -06:00

35 lines
582 B
Bash

#!/usr/bin/env zsh
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
if [[ -s "$DOTFILES/zprezto/init.zsh" ]]; then
source "$DOTFILES/zprezto/init.zsh"
fi
# Customize to your needs...
# load the default before the modules load
autoload -Uz compinit && compinit
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"