fish/functions/urlencode.fish @ 493c5e72391d

Add missing file
author Steve Losh <steve@stevelosh.com>
date Tue, 26 Jun 2018 14:49:12 -0400
parents d66bfb2537fe
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