2021-06-23 10:11:32 +00:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
2023-02-08 11:48:03 +00:00
|
|
|
# Options for Dima's config
|
2023-02-08 11:32:43 +00:00
|
|
|
DOTFILES_DISABLE_WELCOME=1
|
2023-02-08 11:48:03 +00:00
|
|
|
DOTFILES_SYNC_LAST_WORKING_DIR=1
|
2023-02-08 11:32:43 +00:00
|
|
|
|
2021-06-23 10:11:32 +00:00
|
|
|
# Get this file's current directory and source Dima's zshrc from there
|
2021-06-23 10:27:02 +00:00
|
|
|
K_ZSH_DOTFILES="$( dirname "$( readlink -f "$0" )" )"
|
|
|
|
source $K_ZSH_DOTFILES/../dmitmel-dotfiles/zsh/zshrc
|
2021-06-23 10:11:32 +00:00
|
|
|
|
2021-11-15 17:30:08 +00:00
|
|
|
for script in functions plugins aliases; do
|
2021-06-23 10:11:32 +00:00
|
|
|
source "$K_ZSH_DOTFILES/$script.zsh"
|
|
|
|
done
|
2021-06-23 10:27:02 +00:00
|
|
|
|
|
|
|
if [[ -d "$K_ZSH_DOTFILES/custom" ]]; then
|
|
|
|
for script in $K_ZSH_DOTFILES/custom/*.zsh; do
|
|
|
|
source "$script"
|
|
|
|
done
|
|
|
|
fi
|
2023-02-08 11:32:43 +00:00
|
|
|
|
|
|
|
if [[ -z "$KDOTFILES_DISABLE_WELCOME" && -z "$POETRY_ACTIVE" ]]; then
|
|
|
|
welcome
|
|
|
|
fi
|