From 85504cda143e36b92c6693a885ffacc61d05e1a8 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 17 Sep 2012 14:53:11 -0400 Subject: sam: add $% as an alias for $samfile R=r http://codereview.appspot.com/6488137 --- src/cmd/sam/shell.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cmd/sam') diff --git a/src/cmd/sam/shell.c b/src/cmd/sam/shell.c index 32e1b3d2..c6efdd57 100644 --- 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 -- cgit v1.2.3