[+] fastinstall: check if already installed

This commit is contained in:
Hykilpikonna
2021-09-18 11:40:51 -04:00
committed by GitHub
parent f35b31a3bd
commit 053c2da6ac
+6
View File
@@ -1,6 +1,12 @@
# Go to home directory
pushd $HOME
# Check if already installed
if [ -d "zshrc" ]; then
echo "Already installed."
exit -1
fi
# Clone repo
git clone "https://github.com/hykilpikonna/zshrc"