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

# clone my prezto fork
git clone --recursive https://github.com/aminb/prezto.git $HOME/.zprezto
cd .zprezto
git remote set-url origin git@github.com:aminb/prezto.git

# 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