updates urlencode to work better with vim

This commit is contained in:
Jonathan Hodgson 2020-07-29 17:28:09 +01:00
parent 0b510b8370
commit ac9fdea3d5

View file

@ -19,7 +19,7 @@ urlencodespecial() {
string="$1"
if [ -z "$string" ]; then
string="$(cat)"
string="$(cat - | sed 's/^ //')" # For some reason, vim likes to add a space to the begining
fi
#URL