From: Amin Bandali Date: Sun, 23 Nov 2014 02:40:00 +0000 (-0500) Subject: simple script to setup prezto X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/041d9faec88133d8db9fc08f381b5ea19c99f26c?ds=sidebyside;hp=c8186be324c06a08a718de5754769f04a15f2ea8 simple script to setup prezto clone my fork and setup the symlinks --- diff --git a/other/zsh/setup.sh b/other/zsh/setup.sh new file mode 100755 index 0000000..564936a --- /dev/null +++ b/other/zsh/setup.sh @@ -0,0 +1,10 @@ +#! /bin/bash + +# clone my prezto fork +git clone https://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