From a9eaaa03e043ba8e1b2f67d7c8c7ba471db6ba4b Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 12 Jan 2005 16:59:50 +0000 Subject: maintain $path and $PATH simultaneously --- src/cmd/rc/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/rc/simple.c') diff --git a/src/cmd/rc/simple.c b/src/cmd/rc/simple.c index 5318c9fd..a65bec22 100644 --- a/src/cmd/rc/simple.c +++ b/src/cmd/rc/simple.c @@ -168,7 +168,7 @@ void execcd(void){ if(cdpath==0) pfmt(err, "Can't cd %s: %r\n", a->next->word); break; case 1: - a=vlook("home")->val; + a=vlook("HOME")->val; if(count(a)>=1){ if(dochdir(a->word)>=0) setstatus(""); -- cgit v1.2.3