summaryrefslogtreecommitdiffstats
path: root/other/zsh/setup.sh
blob: 809d0133b0f627e32c1f91b17b47ef3478f2dba0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#! /bin/zsh

# clone my prezto fork
git clone --recursive git@github.com:aminb/prezto.git $HOME/.zprezto

# setup the symlinks
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done