You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
popd default pop changes the stack and PWD but does not chdir: 'pushd -n ./sub; popd' leaves the process cwd behind (GNU cds into ./sub) #830
Activity
Merge pull request #837 from unixwin/fix/830
caomengxuan666 commentedon Oct 19, 2026
修复已落地:PR #837(合并 e32c0dd 之前身 5ca5c8a)——popd 顶弹按 GNU pushd.def:392-403 先 chdir 新栈顶(cd_to_string=cd_builtin)成功才弹栈+bindpwd 簿记;±N 经 resolved_index 归一(resolved==0 ⇔ 顶分支);chdir 失败报
popd: <词>: <strerror>rc 1 栈不动;空栈/越界文案对齐 pushd_error;popd 内层 cd 继承 POSIX 目录桥。CR 17 场景×三方矩阵全对齐(#837 评论)。后续边界另立:#844(readonly OLDPWD)、越界文案 args.last() 形(新票)。