dotfiles/zsh/zshrc

24 lines
584 B
Bash
Raw Normal View History

#!/usr/bin/env zsh
# Options for Dima's config
2023-02-08 11:32:43 +00:00
DOTFILES_DISABLE_WELCOME=1
DOTFILES_SYNC_LAST_WORKING_DIR=1
2023-02-08 11:32:43 +00:00
# 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
2023-02-08 11:32:43 +00:00
if [[ -z "$KDOTFILES_DISABLE_WELCOME" && -z "$POETRY_ACTIVE" ]]; then
welcome
fi