You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
582 B
36 lines
582 B
#!/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"
|