diff --git a/dev-setup/.aliases b/dev-setup/.aliases index 9c87016..05296c3 100755 --- a/dev-setup/.aliases +++ b/dev-setup/.aliases @@ -51,3 +51,6 @@ alias c="pbcopy" alias cleanup="find . -type f -name '*.DS_Store' -ls -delete" alias mate="/Applications/TextMate.app/Contents/Resources/mate" + +# Search WikiPedia +wiki='python -c '\''import sys, wikipedia; print("Please provide a search query!") if len(sys.argv) < 2 else print(wikipedia.summary(sys.argv[1]))'\'