I am Root. We are Root.
This commit is contained in:
parent
16c4cc9094
commit
b98177ef19
@ -100,7 +100,8 @@ countdown() {
|
|||||||
}
|
}
|
||||||
# Random quote to avoid making useful commit messages
|
# Random quote to avoid making useful commit messages
|
||||||
function rgcm() {
|
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
|
if [[ -z $message ]]; then
|
||||||
echo "Error: Failed to retrieve a random commit message"
|
echo "Error: Failed to retrieve a random commit message"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user