mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Sprunge smart alias. Like a plugin should.
This commit is contained in:
parent
a00085fb04
commit
f8a85e3250
1 changed files with 8 additions and 0 deletions
8
plugins/sprunge/sprunge.plugin.zsh
Normal file
8
plugins/sprunge/sprunge.plugin.zsh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# A simple alias for sprunge, but only if there isn't a smarter, better one out
|
||||
# there in $PATH
|
||||
#
|
||||
# A good one to add is the sprunge script in this directory.
|
||||
|
||||
if [ -z "${commands[sprunge]}" ]; then
|
||||
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us/"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue