mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
19 lines
667 B
Bash
Executable file
19 lines
667 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
|
|
if [[ -n "$DOTFILES_PATH" ]]; then
|
|
for script in functions path exports aliases oh-my-zsh widgets theme; do
|
|
source "$DOTFILES_PATH/lib/$script.zsh"
|
|
source_if_exists "$DOTFILES_PATH/custom/$script.zsh"
|
|
done
|
|
|
|
source "$DOTFILES_PATH/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"
|
|
|
|
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"'
|
|
|
|
python "$DOTFILES_PATH/welcome/main.py"
|
|
else
|
|
echo "please, set DOTFILES_PATH to the path to your dotfiles directory" >&2
|
|
fi
|