Skip to content

Commit

Permalink
Added Flickr and Google translate
Browse files Browse the repository at this point in the history
  • Loading branch information
wcaleb committed Sep 7, 2012
1 parent 191ff5c commit 18b0edf
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions se-aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ function images
open "http://images.google.com/images?q=`urlencode "$1"`"
}

function images
{
open "http://images.google.com/images?q=`urlencode "$1"`"
}

function amazon
{
open "http://www.amazon.com/s/?url=search-alias%3Daps&field-keywords=`urlencode "$1"`"
Expand All @@ -58,11 +53,28 @@ function imdb
open "http://www.imdb.com/find?q=`urlencode "$1"`&s=all"
}

function spanish
{
open "http://translate.google.com/#en/es/`urlencode "$1"`"
}

function english
{
open "http://translate.google.com/#es/en/`urlencode "$1"`"
}

function wikipedia
{
open "http://en.wikipedia.org/w/index.php?search=`urlencode "$1"`"
}

# Search Flickr for Creative Commons pictures
# http://yubnub.org/kernel/man?args=fliccr
function flickr
{
open "http://flickr.com/search/?q=`urlencode "$1"`&l=cc&ss=1&ct=6"
}

# Note: Handbook of Texas Online uses %20 instead of + for spaces
function hotx
{
Expand Down

0 comments on commit 18b0edf

Please sign in to comment.