diff options
author | Russ Cox <rsc@swtch.com> | 2012-09-17 14:53:11 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-09-17 14:53:11 -0400 |
commit | 85504cda143e36b92c6693a885ffacc61d05e1a8 (patch) | |
tree | b3afa5e522f3ff681ffd3ebcfd78a60102932c86 /src/cmd/sam | |
parent | 54bebe6a69875f6f020b00ed8e2c7d944d2ee93b (diff) | |
download | plan9port-85504cda143e36b92c6693a885ffacc61d05e1a8.tar.gz plan9port-85504cda143e36b92c6693a885ffacc61d05e1a8.tar.bz2 plan9port-85504cda143e36b92c6693a885ffacc61d05e1a8.zip |
sam: add $% as an alias for $samfile
R=r
http://codereview.appspot.com/6488137
Diffstat (limited to 'src/cmd/sam')
-rw-r--r-- | src/cmd/sam/shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |