summaryrefslogtreecommitdiffstats
path: root/other/zsh/setup.sh
blob: 2586ed9f4d460dabdbe626ca424855cbcfe960ca (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 $HOME/.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