summaryrefslogtreecommitdiff
path: root/home-config/zsh/zsh-autosuggestions/install_test_zsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'home-config/zsh/zsh-autosuggestions/install_test_zsh.sh')
-rwxr-xr-xhome-config/zsh/zsh-autosuggestions/install_test_zsh.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/home-config/zsh/zsh-autosuggestions/install_test_zsh.sh b/home-config/zsh/zsh-autosuggestions/install_test_zsh.sh
new file mode 100755
index 0000000..40dc4c5
--- /dev/null
+++ b/home-config/zsh/zsh-autosuggestions/install_test_zsh.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -ex
+
+for v in $(grep "^[^#]" ZSH_VERSIONS); do
+ mkdir zsh-$v
+ cd zsh-$v
+
+ curl -L https://api.github.com/repos/zsh-users/zsh/tarball/zsh-$v | tar xz --strip=1
+
+ ./Util/preconfig
+ ./configure --enable-pcre \
+ --enable-cap \
+ --enable-multibyte \
+ --with-term-lib='ncursesw tinfo' \
+ --with-tcsetpgrp \
+ --program-suffix="-$v"
+
+ make install.bin
+ make install.modules
+ make install.fns
+
+ cd ..
+
+ rm -rf zsh-$v
+done