summaryrefslogtreecommitdiffstats
path: root/other
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2014-11-22 21:40:00 -0500
committerAmin Bandali <me@aminb.org>2014-11-22 21:40:00 -0500
commit041d9faec88133d8db9fc08f381b5ea19c99f26c (patch)
tree44f21c28f8712255a9fa5cec629c2597102eaa41 /other
parentc8186be324c06a08a718de5754769f04a15f2ea8 (diff)
downloadconfigs-041d9faec88133d8db9fc08f381b5ea19c99f26c.tar.gz
configs-041d9faec88133d8db9fc08f381b5ea19c99f26c.tar.xz
configs-041d9faec88133d8db9fc08f381b5ea19c99f26c.zip
simple script to setup prezto
clone my fork and setup the symlinks
Diffstat (limited to '')
-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