Skip to content

Commit

Permalink
Fix the behaviour of the sprunge plugin so that is preserves whitespa…
Browse files Browse the repository at this point in the history
…ces and tabs.
  • Loading branch information
nezza committed Jan 16, 2012
1 parent 7a41498 commit 6040d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sprunge/sprunge.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ sprunge() {
fi
else
echo Using input from a pipe or STDIN redirection... >&2
while read -r line ; do
while IFS= read -r line ; do
echo $line
done | curl -F 'sprunge=<-' http://sprunge.us
fi
Expand Down

0 comments on commit 6040d72

Please sign in to comment.