add install script

This commit is contained in:
Ray Elliott 2020-09-03 16:36:46 +01:00
parent 6d4a395cc0
commit e45a7887f7
1 changed files with 8 additions and 0 deletions

8
install.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
git clone https://github.com/tarjoilija/zgen.git "$HOME/.config/zsh/zgen"
if [ -e "$HOME/.zshrc" ] ; then
mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)"
fi
ln -s "$HOME/.config/zsh/zshrc" "$HOME/.zshrc"