maintain $path and $PATH simultaneously
This commit is contained in:
parent
7b0c2f155d
commit
a9eaaa03e0
5 changed files with 74 additions and 4 deletions
|
|
@ -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("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue