My $ZDOTDIR
directory, which contains my zsh configuration, based on mattmc3's zdotdir.
Install this repo to your $ZDOTDIR
:
# set the amazing ZDOTDIR variable
export ZDOTDIR=~/.config/zsh
# clone this repo
git clone --recursive https://github.com/srouquette/dotfiles.git $ZDOTDIR
# change the root .zshenv file to use ZDOTDIR
cat << 'EOF' >| ~/.zshenv
export ZDOTDIR=~/.config/zsh
[[ -f $ZDOTDIR/.zshenv ]] && . $ZDOTDIR/.zshenv
EOF
# or symlink the files from $ZDOTDIR/home in your home
ln -s $ZDOTDIR/home/.zshenv ~/.zshenv
# load zsh
zsh