dotfiles/zsh/zshrc

15 lines
395 B
Bash

#!/usr/bin/env zsh
# 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; 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