From 87d00e8f51fc7f05e28ee23d097b568e4af2a3a2 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 11 Feb 2009 07:04:57 +0100 Subject: [PATCH] use - for stdin --- .zsh/func/p | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2