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

# clone my prezto fork
git clone --recursive git@aminb.org:prezto $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