mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Exit, not return, per original author.
This commit is contained in:
parent
5978418681
commit
e66b827e61
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,7 @@ description, it will NOT generate an error, but will instead treat it as
|
||||||
a text string and upload it.
|
a text string and upload it.
|
||||||
|
|
||||||
HERE
|
HERE
|
||||||
#exit
|
exit
|
||||||
return 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sprunge() {
|
sprunge() {
|
||||||
|
|
@ -59,6 +58,7 @@ sprunge() {
|
||||||
url=$(cat "$*" | curl -F 'sprunge=<-' http://sprunge.us)
|
url=$(cat "$*" | curl -F 'sprunge=<-' http://sprunge.us)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
syntax="text"
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue