Configuration and cli example
This commit is contained in:
15
pastabble-cli.sh
Normal file
15
pastabble-cli.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# Shell aliasses and functions.
|
||||
# Load or copy this file into your .profile or (b)ashrc
|
||||
PURL="paste.plabble.org"
|
||||
|
||||
alias pcopy="curl -F 'content=<-' $PURL -w '\n'"
|
||||
alias pshort="curl -F 'link=<-' $PURL/to -w '\n'"
|
||||
|
||||
function ppaste() {
|
||||
curl $PURL/$1
|
||||
}
|
||||
|
||||
function pgo() {
|
||||
firefox $PURL/to/$1
|
||||
}
|
||||
Reference in New Issue
Block a user