X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/6e36671a068d78165978dd747cef223e7f38d996..47bfbbfd7965fe91651dd485695855490f27e5e4:/.zsh/func/p?ds=inline 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/@