tsam: add $% as an alias for $samfile - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 85504cda143e36b92c6693a885ffacc61d05e1a8
(DIR) parent 54bebe6a69875f6f020b00ed8e2c7d944d2ee93b
(HTM) 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:
M src/cmd/sam/shell.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/src/cmd/sam/shell.c b/src/cmd/sam/shell.c
t@@ -17,6 +17,7 @@ setname(File *f)
else
buf[0] = 0;
putenv("samfile", buf);
+ putenv("%", buf); // like acme
}
int