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