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