Commit 01a6736b authored by Paul Joannon's avatar Paul Joannon Committed by Bruno Pinto

change indentation from 4 to 2 spaces

parent 4ef7561c
......@@ -4,21 +4,21 @@
# Based on oh-my-zsh's sprunge plugin
function sprunge
if isatty stdin
if [ (count $argv) -gt 0 ]
if [ -f $argv ]
cat $argv
else
echo $argv
end | curl -F 'sprunge=<-' http://sprunge.us
else
echo -e "Usage:
if isatty stdin
if [ (count $argv) -gt 0 ]
if [ -f $argv ]
cat $argv
else
echo $argv
end | curl -F 'sprunge=<-' http://sprunge.us
else
echo -e "Usage:
* sprunge < README.md
* sprunge README.md
* cat README.md | sprunge
* sprunge "I \<3 paulloz""
end
else
curl -F 'sprunge=<-' http://sprunge.us
end
else
curl -F 'sprunge=<-' http://sprunge.us
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment