<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/tests/linux/i-startup-errors.exp, branch editor/vi-v-dot</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=editor%2Fvi-v-dot</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=editor%2Fvi-v-dot'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-18T18:55:52Z</updated>
<entry>
<title>Read startup files like the interactive shell they belong to</title>
<updated>2026-11-18T18:55:52Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T18:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=f1767f5f5891300ff42c1570c0415b00f2f9faf5'/>
<id>urn:sha1:f1767f5f5891300ff42c1570c0415b00f2f9faf5</id>
<content type='text'>
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.
</content>
</entry>
</feed>
