35 lines
705 B
Bash
35 lines
705 B
Bash
# Source Prezto.
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
fi
|
|
|
|
source ~/.zoptions
|
|
|
|
source ~/.zalias
|
|
|
|
source ~/.zfunc
|
|
|
|
if [[ -s "$HOME/.iterm2_shell_integration.zsh" ]]; then
|
|
source "$HOME/.iterm2_shell_integration.zsh"
|
|
fi
|
|
|
|
add_dir_to_path "$HOME/bin"
|
|
add_dir_to_path "$HOME/work/arcadia"
|
|
|
|
add_dir_to_path "$HOME/brew/sbin"
|
|
add_dir_to_path "$HOME/brew/bin"
|
|
|
|
|
|
# export PATH="$HOME/bin/":$PATH
|
|
# export PATH="$HOME/work/arcadia/":$PATH
|
|
|
|
|
|
# if is_local; then
|
|
# export PATH="$HOME/brew/sbin":"$HOME/brew/bin":$PATH
|
|
# export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib"
|
|
# fi
|
|
|
|
# update, background+disown
|
|
update_.g &!
|
|
|