Fix paste timeout
This commit is contained in:
parent
0849fd0f06
commit
121b39e854
@ -182,7 +182,7 @@ paste() {
|
||||
if [[ ! -z "$1" ]]; then
|
||||
NAME="-d title=$1"
|
||||
fi
|
||||
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" | curl --data-urlencode text@- $NAME -d name=$USER https://austenwares.com/paste/api/create
|
||||
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" | curl --data-urlencode text@- $NAME -d name=$USER -d expire="40320" https://austenwares.com/paste/api/create
|
||||
}
|
||||
grename() {
|
||||
echo incomplete
|
||||
|
Loading…
Reference in New Issue
Block a user