Skip to content

Instantly share code, notes, and snippets.

@niklio
Created June 27, 2019 18:29
Show Gist options
  • Save niklio/ad1eab88702ebb3cc0f331dcaf78dfac to your computer and use it in GitHub Desktop.
Save niklio/ad1eab88702ebb3cc0f331dcaf78dfac to your computer and use it in GitHub Desktop.
function git(){
if [ "$1" == "commit" ] && [ "$2" == "--kanye" ]; then
/usr/bin/git commit -m "$(curl -X GET http://api.kanye.rest/ | jq '.quote')";
else
/usr/bin/git $@
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment