diff options
author | Thomas (nezza-_-) Roth <thomas.roth@leveldown.de> | 2012-01-16 13:26:08 +0100 |
---|---|---|
committer | Thomas (nezza-_-) Roth <thomas.roth@leveldown.de> | 2012-01-16 13:26:08 +0100 |
commit | 54a30c470145be2d7aa055bc7a05815ce051d540 (patch) | |
tree | c2c4fb39fb5be3e91cca2fcde30194d13c4c7c21 /plugins | |
parent | 6040d72e2a438529f5850b68d1a87d54a3c96f45 (diff) | |
download | zsh-54a30c470145be2d7aa055bc7a05815ce051d540.tar.gz zsh-54a30c470145be2d7aa055bc7a05815ce051d540.tar.bz2 zsh-54a30c470145be2d7aa055bc7a05815ce051d540.zip |
sprunge-plugin: Remove the unnecessary while loop.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sprunge/sprunge.plugin.zsh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh index e542b437f..fcc9004f8 100644 --- a/plugins/sprunge/sprunge.plugin.zsh +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -57,8 +57,6 @@ sprunge() { fi else echo Using input from a pipe or STDIN redirection... >&2 - while IFS= read -r line ; do - echo $line - done | curl -F 'sprunge=<-' http://sprunge.us + curl -F 'sprunge=<-' http://sprunge.us fi } |