Skip to content
Browse files

sprunge-plugin: Remove the unnecessary while loop.

  • Loading branch information...
1 parent 6040d72 commit 54a30c470145be2d7aa055bc7a05815ce051d540 @nezza nezza committed
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
}

0 comments on commit 54a30c4

Please sign in to comment.
Something went wrong with that request. Please try again.