zsh-autosuggestions/install_test_zsh.sh

27 lines
511 B
Bash
Raw Normal View History

#!/bin/sh
set -ex
for v in $(grep "^[^#]" ZSH_VERSIONS); do
2021-09-14 00:47:21 +02:00
mkdir "zsh-$v"
cd "zsh-$v"
2021-09-14 00:47:21 +02:00
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 ..
2021-09-14 00:47:21 +02:00
rm -rf "zsh-$v"
done