Commit | Line | Data |
---|---|---|
1 | #! /bin/zsh | |
2 | ||
3 | # clone my prezto fork | |
4 | git clone --recursive https://github.com/aminb/prezto.git $HOME/.zprezto | |
5 | cd $HOME/.zprezto | |
6 | git remote set-url origin git@github.com:aminb/prezto.git | |
7 | ||
8 | # setup the symlinks | |
9 | setopt EXTENDED_GLOB | |
10 | for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do | |
11 | ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" | |
12 | done |