mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
sprunge-plugin: Remove the unnecessary while loop.
This commit is contained in:
1 parent
6040d72e2a
commit
54a30c4701
1 file changed
+1
-3
@@ -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 IFS= read -r line ; do
|
curl -F 'sprunge=<-' http://sprunge.us
|
||||||
echo $line
|
|
||||||
done | curl -F 'sprunge=<-' http://sprunge.us
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user