Configuration and cli example

This commit is contained in:
2022-11-03 17:30:34 +01:00
parent 42cb515813
commit b46c107a85
3 changed files with 33 additions and 4 deletions

15
pastabble-cli.sh Normal file
View 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
}