I am Root. We are Root.

This commit is contained in:
Brad Ganley 2023-02-26 05:51:31 -06:00
parent 16c4cc9094
commit b98177ef19

View File

@ -100,7 +100,8 @@ countdown() {
}
# Random quote to avoid making useful commit messages
function rgcm() {
message=$(curl -s https://quotes.rest/qod | jq -r '.contents.quotes[0].quote')
api="https://whatthecommit.com/index.txt"
message=$(curl -s $api)
if [[ -z $message ]]; then
echo "Error: Failed to retrieve a random commit message"
return 1