X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/6e36671a068d78165978dd747cef223e7f38d996..2dfbee08389e20588a648f1f6ab18c0d9e04a1b9:/.zsh/func/p?ds=sidebyside diff --git a/.zsh/func/p b/.zsh/func/p index 2b167bc..4e4a16b 100755 --- a/.zsh/func/p +++ b/.zsh/func/p @@ -16,10 +16,10 @@ if [[ $# -gt 1 ]]; then fi PERMATAG=$USER -PB=http://1t2.us +PB=http://slexy.org PBIT="pastebinit -b $PB -a $USER" -FILE=/dev/stdin +FILE=- [[ -n "$1" ]] && FILE="$1" -eval $PBIT -i $FILE +eval $PBIT -i $FILE | sed -e s@/view/@/raw/@