dotfiles/zsh/zshrc
2023-02-08 12:48:03 +01:00

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