X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/6e36671a068d78165978dd747cef223e7f38d996..910ef4f05663ec9859e25ccf26318128e56f4ee8:/.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/@