summaryrefslogtreecommitdiffstats
path: root/src/cmd/rc/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/simple.c')
-rw-r--r--src/cmd/rc/simple.c2
1 files changed, 1 insertions, 1 deletions
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("");