From 66fda09680ffb0d74db9176f5c74385b7cd1babd Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 16 Mar 2023 23:11:47 +0100 Subject: [PATCH] Add install script --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..5d4551e --- /dev/null +++ b/install.sh @@ -0,0 +1,7 @@ +#!/bin/zsh + +git clone --recursive https://git.ztn.sh/zotan/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" +setopt EXTENDED_GLOB +for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do + ln -sf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" +done