2018-06-15 13:43:04 +00:00
|
|
|
#!/usr/bin/env zsh
|
2018-02-23 09:38:24 +00:00
|
|
|
|
2018-08-23 12:41:13 +00:00
|
|
|
if [[ -n "$DOTFILES_PATH" ]]; then
|
2018-09-20 16:08:38 +00:00
|
|
|
for script in functions path exports oh-my-zsh aliases widgets theme; do
|
2018-08-23 09:40:09 +00:00
|
|
|
source "$DOTFILES_PATH/lib/$script.zsh"
|
2018-08-23 17:31:56 +00:00
|
|
|
source_if_exists "$DOTFILES_PATH/custom/$script.zsh"
|
2018-02-23 17:15:26 +00:00
|
|
|
done
|
2018-02-23 09:38:24 +00:00
|
|
|
|
2018-08-23 09:40:09 +00:00
|
|
|
run_before rbenv 'eval "$(rbenv init -)"'
|
|
|
|
run_before sdk 'source_if_exists "$SDKMAN_DIR/bin/sdkman-init.sh"'
|
|
|
|
run_before yarn 'source_if_exists "$(yarn global dir)/node_modules/tabtab/.completions/yarn.zsh"'
|
2018-08-08 08:35:35 +00:00
|
|
|
|
2018-08-23 09:40:09 +00:00
|
|
|
python "$DOTFILES_PATH/welcome/main.py"
|
|
|
|
else
|
2018-08-23 12:41:13 +00:00
|
|
|
echo "please, set DOTFILES_PATH to the path to your dotfiles directory" >&2
|
2018-08-23 09:40:09 +00:00
|
|
|
fi
|