<i>"you don't type git pull every time, do you?"</i><p>No, I fetch and then merge.<p><i>"Put those to your .bashrc or .zshrc"</i><p>git aliases should be added to gitconfig to avoid muddying the global namespace for commands.
If you're going to do this at least put the 'fact' call before the git command, otherwise it seems to defeat the purpose of reading the fact while the git fetch / merge completes.
I dont want to spoil the party but:<p>1) You really don't need Git to do this. Can you bind almost anything you like to make a call to this randomfact website.
2) The site doesn't only state facts. It says that elephants are the only animals that can't jump. This is simply not true, because snails for instance are animals as well, and it is proven that they can't jump.
Only using curl:<p>WARNING: Replace ASTERISK with the asterisk character, keeps italicizing -.-<p>curl -s randomfunfacts.com | grep '<i>' | sed 's/.ASTERISK<i>\(.ASTERISK\)<\/i>.*/\1/'
we should merge :]
<a href="https://chrome.google.com/webstore/detail/bjkhdklfbghoadcamlpmkafgmehcmima?hl=en-GB&utm_source=chrome-ntp-launcher" rel="nofollow">https://chrome.google.com/webstore/detail/bjkhdklfbghoadcaml...</a>