From 041d9faec88133d8db9fc08f381b5ea19c99f26c Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 22 Nov 2014 21:40:00 -0500 Subject: [PATCH] simple script to setup prezto clone my fork and setup the symlinks --- other/zsh/setup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 other/zsh/setup.sh 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 -- 2.20.1