Skip to content

Instantly share code, notes, and snippets.

@sinewalker
Created May 13, 2019 06:40
Show Gist options
  • Save sinewalker/989a757293eb5d08f53953c03c2b7368 to your computer and use it in GitHub Desktop.
Save sinewalker/989a757293eb5d08f53953c03c2b7368 to your computer and use it in GitHub Desktop.
wtfo -- fix wtf -o option's error message when it can't find an abbreviation
function wtfo(){
FUNCDESC="Look up an abbreviation, including obscene meanings"
wtf -o ${@}|sed 's/nothing appropriate/nothing inappropriate/'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment