Browse Source

Merge pull request #837 from stacksmashing/master

Fix sprunge-plugin behaviour.
Robby Russell 11 years ago
parent
commit
ae7bce34fd
1 changed files with 1 additions and 3 deletions
  1. 1 3
      plugins/sprunge/sprunge.plugin.zsh

+ 1 - 3
plugins/sprunge/sprunge.plugin.zsh

@@ -57,8 +57,6 @@ sprunge() {
 	  fi
 	  fi
 	else
 	else
 	  echo Using input from a pipe or STDIN redirection... >&2
 	  echo Using input from a pipe or STDIN redirection... >&2
-	  while read -r line ; do
-		echo $line
-	  done | curl -F 'sprunge=<-' http://sprunge.us
+	  curl -F 'sprunge=<-' http://sprunge.us
 	fi
 	fi
 }
 }