Last active
October 23, 2019 06:32
-
-
Save emelent/166ea4ac4aa6266fd11da30cd07d89ef to your computer and use it in GitHub Desktop.
Simple bible verse install script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
check=`grep "setup_bible_verses" .bashrc &> /dev/null` | |
if [ "$check" = "" ]; then | |
echo "Setting up .bashrc bible script..." | |
text=`curl -s https://gist.githubusercontent.com/emelent/6a18bb8015664877dc605baa40cd10d3/raw/23a54e5419db4c4db7bff43db196c6f3d0c6119c/setup_bible_verses.sh` && | |
echo $text >> .bashrc && | |
echo "\nGreat, your .bashrc is now setup for bible verses. 😁" || | |
echo "Setup failed, make sure you're online then try again. 😕" | |
else | |
echo "Your .bashrc is already setup for bible verses. 😋" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment