simple script to setup prezto
[~bandali/configs] / other / zsh / setup.sh
1 #! /bin/bash
2
3 # clone my prezto fork
4 git clone https://git.aminb.org/prezto $HOME/.zprezto
5
6 # setup the symlinks
7 setopt EXTENDED_GLOB
8 for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
9 ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
10 done