Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.37 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.37 KB

zdotdir

My $ZDOTDIR directory, which contains my zsh configuration, based on mattmc3's zdotdir.

Installation

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

I'm also using chezmoi to setup my dotfiles.

Resources