zsh-users
 help / color / mirror / code / Atom feed
* abort if any error
@ 2021-08-06 18:42 Ray Andrews
  2021-08-06 21:07 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Ray Andrews @ 2021-08-06 18:42 UTC (permalink / raw)
  To: Zsh Users

$ . wonderful_function; wonderful_function

[scrolls off the page ]

But, ooops, my last tweak to the function busted something so it wasn't 
sourced and what ran was the previous version.  Is there some way of 
forcing any script or command line or anything at all to stop 
unconditionally in case of an error on sourcing?  I can't think of a 
situation where I'd not want to stop and fix it.  If it were possible 
I'd bolt that on right at configuration.  I'm betting it can be done.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-06 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 18:42 abort if any error Ray Andrews
2021-08-06 21:07 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).