fish/functions/urlencode.fish @ d66bfb2537fe

more shit
author Steve Losh <steve@stevelosh.com>
date Mon, 13 Jan 2014 09:55:17 -0500
parents (none)
children (none)
function urlencode -d "Urlencode the plaintext input"
    python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);" $argv
end