port install elinks
No, I fetch and then merge.
"Put those to your .bashrc or .zshrc"
git aliases should be added to gitconfig to avoid muddying the global namespace for commands.
[alias]
ff = "!fact && git fetch"WARNING: Replace ASTERISK with the asterisk character, keeps italicizing -.-
curl -s randomfunfacts.com | grep '<i>' | sed 's/.ASTERISK<i>\(.ASTERISK\)<\/i>.*/\1/'
WARNING: REPLACE ASTERISK with the ATERISK character, keeps italicizing
alias facts="echo -ne '\033[36m'; curl -s randomfunfacts.com | grep '<i>' | sed 's/.ASTERISK<i>\(.ASTERISK\)<\/i>.*/\1/'; echo -ne '\033[0m'; tput sgr0"
And run it in BG so we don't have to wait for call to website before we pull
alias gpl="( facts ); git pull"
Prepending two spaces to a line will prevent ***automatic formatting***. curl -s randomfunfacts.com | grep '<i>' | sed 's/.*<i>\(.*\)<\/i>.*/\1/'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.
elinks -dump randomfunfacts.com | sed -n '/^[┌│└]/p'