| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Read startup files like the interactive shell they belong to | Sean Kurtz | 12 days | 1 | -0/+21 |
| A failing line in $ENV ended the shell: run_input() only installed its recovering handler for the main loop, so sh_error() found no handler and called exit_shell(). An interactive shell must not exit for a command that fails (POSIX 2.5.3), and a .kshrc shared with ksh is full of lines zash rejects. Startup files now run with RI_RECOVER, which recovers from an error without printing a prompt, and the rest of the file is still read. | |||||
