I am Root. We are Root.

Former-commit-id: b98177ef19
This commit is contained in:
2023-02-26 05:51:31 -06:00
parent 6cef5443bd
commit 7f8ed550fa

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