diff --git a/.bash_aliases b/.bash_aliases index 4495623..fb8a419 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -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