updates urlencode to work better with vim
This commit is contained in:
parent
0b510b8370
commit
ac9fdea3d5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue