plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 85504cda143e36b92c6693a885ffacc61d05e1a8
parent 54bebe6a69875f6f020b00ed8e2c7d944d2ee93b
Author: Russ Cox <rsc@swtch.com>
Date:   Mon, 17 Sep 2012 14:53:11 -0400

sam: add $% as an alias for $samfile

R=r
http://codereview.appspot.com/6488137

Diffstat:
Msrc/cmd/sam/shell.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/cmd/sam/shell.c b/src/cmd/sam/shell.c @@ -17,6 +17,7 @@ setname(File *f) else buf[0] = 0; putenv("samfile", buf); + putenv("%", buf); // like acme } int