mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
23 lines
584 B
Bash
23 lines
584 B
Bash
#!/usr/bin/env zsh
|
|
|
|
# Options for Dima's config
|
|
DOTFILES_DISABLE_WELCOME=1
|
|
DOTFILES_SYNC_LAST_WORKING_DIR=1
|
|
|
|
# Get this file's current directory and source Dima's zshrc from there
|
|
K_ZSH_DOTFILES="$( dirname "$( readlink -f "$0" )" )"
|
|
source $K_ZSH_DOTFILES/../dmitmel-dotfiles/zsh/zshrc
|
|
|
|
for script in functions plugins aliases; do
|
|
source "$K_ZSH_DOTFILES/$script.zsh"
|
|
done
|
|
|
|
if [[ -d "$K_ZSH_DOTFILES/custom" ]]; then
|
|
for script in $K_ZSH_DOTFILES/custom/*.zsh; do
|
|
source "$script"
|
|
done
|
|
fi
|
|
|
|
if [[ -z "$KDOTFILES_DISABLE_WELCOME" && -z "$POETRY_ACTIVE" ]]; then
|
|
welcome
|
|
fi
|