diff options
Diffstat (limited to 'cd.c')
-rw-r--r-- | cd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -132,6 +132,7 @@ int cd_main(int argc, char *argv[]) return 1; } + getcwd(curpath, sizeof(curpath)); setenv("OLDPWD", oldpath, 1); setenv("PWD", curpath, 1); return 0; |