Skip to content

Instantly share code, notes, and snippets.

@iamdustan
Created April 5, 2016 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamdustan/96d606230a17a0627c4c3299652ead54 to your computer and use it in GitHub Desktop.
Save iamdustan/96d606230a17a0627c4c3299652ead54 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ $1 == "help" ]; then
echo "what does david mean?"
echo "Example:"
echo ""
echo "$ whatdoesdavidmean mfw"
exit 0
fi
echo "Opening definition for \"$1\"..."
open "http://www.urbandictionary.com/define.php?term=$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment