#!/usr/bin/env zsh echo "Installing prezto" if [ -z "$ZDOTDIR" ]; then echo "ZDOTDIR not set." exit 1 fi mkdir -p $ZDOTDIR git -c http.sslVerify=false clone --recursive https://maxwell.ydns.eu:44333/fazo96/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done echo "Done"