Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sprunge-plugin: Remove the unnecessary while loop.

  • Loading branch information...
commit 54a30c470145be2d7aa055bc7a05815ce051d540 1 parent 6040d72
@nezza nezza authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 plugins/sprunge/sprunge.plugin.zsh
View
4 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
}
Please sign in to comment.
Something went wrong with that request. Please try again.