X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/0837f5af78b276ac2d7a486f79f5f18334842107..87d00e8f51fc7f05e28ee23d097b568e4af2a3a2:/.zsh/func/p diff --git a/.zsh/func/p b/.zsh/func/p index 2b167bc..fcec59e 100755 --- a/.zsh/func/p +++ b/.zsh/func/p @@ -19,7 +19,7 @@ PERMATAG=$USER PB=http://1t2.us PBIT="pastebinit -b $PB -a $USER" -FILE=/dev/stdin +FILE=- [[ -n "$1" ]] && FILE="$1" eval $PBIT -i $FILE