diff --git a/fastinstall.sh b/fastinstall.sh index 56617bd..452f165 100644 --- a/fastinstall.sh +++ b/fastinstall.sh @@ -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"