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