Skip to content

Commit

Permalink
Deleted unnecessary echo and ()
Browse files Browse the repository at this point in the history
  • Loading branch information
wcaleb committed Sep 7, 2012
1 parent 35149e8 commit 0365950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions se-aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1])"'
alias urldecode='python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])"'

function scholar()
function scholar
{
QUERY=$(urlencode "$1")
open "http://scholar.google.com/scholar?hl=en&q=`echo $QUERY`"
open "http://scholar.google.com/scholar?hl=en&q=$QUERY"
}

0 comments on commit 0365950

Please sign in to comment.