From 121b39e854a9e5b39c0acba72a2923096b0b5eb6 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 22 May 2016 22:02:04 -0400 Subject: [PATCH] Fix paste timeout --- shells/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/zshrc b/shells/zshrc index 4ac6217..244f0ad 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -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