summaryrefslogtreecommitdiffstats
path: root/other
diff options
context:
space:
mode:
Diffstat (limited to 'other')
-rwxr-xr-xother/zsh/setup.sh10
1 files changed, 10 insertions, 0 deletions
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