projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c8186be
)
simple script to setup prezto
author
Amin Bandali
<me@aminb.org>
Sun, 23 Nov 2014 02:40:00 +0000
(21:40 -0500)
committer
Amin Bandali
<me@aminb.org>
Sun, 23 Nov 2014 02:40:00 +0000
(21:40 -0500)
clone my fork and setup the symlinks
other/zsh/setup.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/other/zsh/setup.sh
b/other/zsh/setup.sh
new file mode 100755
(executable)
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