Add install script

This commit is contained in:
Laura Hausmann 2023-03-16 23:11:47 +01:00
parent 38471673e1
commit 66fda09680
Signed by: zotan
GPG Key ID: D044E84C5BE01605
1 changed files with 7 additions and 0 deletions

7
install.sh Normal file
View File

@ -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