From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: exit to shell from nested function calls.
Date: Thu, 16 May 2024 14:28:41 -0700 [thread overview]
Message-ID: <09115b25-9017-4233-aaf2-6e4378aba53f@eastlink.ca> (raw)
In-Reply-To: <CAN=4vMpJh2dzEzik-XCKz-Cyddi1Sq2AUbWBtNSr0s4j5EbhCQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 794 bytes --]
On 2024-05-16 13:26, Roman Perepelitsa wrote:
> I'd turn this into a script (executable file) and use exit to bail
> out. IMO, anything that can be a script is better off as a script.
I'm slowly figuring that out. Yes, that's the motivator I need. Coming
from C I just sorta started writing functions cuz that's what one does in C.
Thanks Roman.
BTW, just in case you're wondering, it's an overlay for mostly firefox
which chatters to the disk almost constantly. Got a newer machine
recently and it has a SSD, but I know they have limited R/W cycles so
I'm using the overlay to deflect the chatter to RAM. Works good so far.
Will try it with a few other progs too, and possibly /var. It 's
interesting watching 'fatrace -fW' for a while -- see who's a disk
blabbermouth.
[-- Attachment #2: Type: text/html, Size: 1321 bytes --]
next prev parent reply other threads:[~2024-05-16 21:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-16 14:21 Ray Andrews
2024-05-16 20:26 ` Roman Perepelitsa
2024-05-16 21:28 ` Ray Andrews [this message]
2024-05-17 15:40 ` Mark J. Reed
2024-05-17 15:58 ` Ray Andrews
2024-05-17 16:46 ` Mark J. Reed
2024-05-17 17:04 ` Bart Schaefer
2024-05-17 17:36 ` Bart Schaefer
2024-05-17 18:52 ` Ray Andrews
2024-05-17 19:00 ` Mark J. Reed
2024-05-17 20:28 ` Ray Andrews
2024-05-18 2:09 ` Bart Schaefer
2024-05-17 17:29 ` Thomas Lauer
2024-05-17 18:43 ` Ray Andrews
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09115b25-9017-4233-aaf2-6e4378aba53f@eastlink.ca \
--to=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).