X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9803fcd37c718bdfbfb565329c5b23801aa3584c..34a97107375f3df8bb0562c40b6cd71618be483c:/.zsh/func/p?ds=sidebyside

diff --git a/.zsh/func/p b/.zsh/func/p
old mode 100755
new mode 100644
index a4f66a8..7a646df
--- a/.zsh/func/p
+++ b/.zsh/func/p
@@ -4,10 +4,10 @@
 #
 # function to publish to a pastebin (using pastebinit)
 #
-# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
+# Copyright © 1994–2017 martin f. krafft <madduck@madduck.net>
 # Released under the terms of the Artistic Licence 2.0
 #
-# Source repository: git://git.madduck.net/etc/zsh.git
+# Source repository: http://git.madduck.net/v/etc/zsh.git
 #
 
 if [[ $# -gt 1 ]]; then
@@ -16,10 +16,10 @@ if [[ $# -gt 1 ]]; then
 fi
 
 PERMATAG=$USER
-PB=http://rafb.net
+PB=http://slexy.org
 PBIT="pastebinit -b $PB -a $USER"
 
 FILE=-
 [[ -n "$1" ]] && FILE="$1"
 
-eval $PBIT -i $FILE
+eval $PBIT -i $FILE | sed -e s@/view/@/raw/@