zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Ray Andrews <rayandrews@eastlink.ca>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: what does 'interactive' mean?
Date: Tue, 10 Aug 2021 16:08:24 -0700	[thread overview]
Message-ID: <CAH+w=7aE2AQXSKw3bYnWhx50QkA6e2jYiaLRNVPZdsEyMqKUtw@mail.gmail.com> (raw)
In-Reply-To: <a3ba8c02-04d1-d654-ad01-d13f588e8965@eastlink.ca>

On Tue, Aug 10, 2021 at 3:38 PM Ray Andrews <rayandrews@eastlink.ca> wrote:
>
> The only thing I'd  even want to know is how when where and
> why I'd ever want to get involved with the issue with very practical
> examples.

There are only two reasons I can think of why you would care:
(1a) The /etc/zshenv file is read in all shells, and you're a system
administrator who wants to do (or not do) something only in shells
that are also (or are not) going to read the zshrc files.  The classic
example would be some adjustment to $PATH.
(1b) You're a user with the same go/no-go concern about something in
your .zshenv file.
(2) As (1ab) except for zlogin/zlogout files (yes, there are
circumstances in which a login shell might not be interactive, mostly
with remote shells).  The example here would be to modify any of the
history-related variables.

I suppose a third case would be that you're intending to forcibly
create one of the foregoing circumstances by turning the INTERACTIVE
option explicitly on or off.  Examples of why you're doing that would
be pretty obscure.


  reply	other threads:[~2021-08-10 23:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10  2:58 Roman Neuhauser
2021-08-10  9:04 ` Thomas Paulsen
2021-08-10 13:00   ` Roman Neuhauser
2021-08-10 12:12 ` Peter Stephenson
2021-08-10 13:47   ` Roman Neuhauser
2021-08-10 13:54     ` Peter Stephenson
2021-08-10 15:30   ` Ray Andrews
2021-08-10 16:34     ` Peter Stephenson
2021-08-10 16:48       ` Ray Andrews
2021-08-10 19:00         ` Bart Schaefer
2021-08-10 22:33           ` Ray Andrews
2021-08-10 19:30         ` Lawrence Velázquez
2021-08-10 22:38           ` Ray Andrews
2021-08-10 23:08             ` Bart Schaefer [this message]
2021-08-10 23:26               ` Ray Andrews
2021-08-10 23:30                 ` Bart Schaefer

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='CAH+w=7aE2AQXSKw3bYnWhx50QkA6e2jYiaLRNVPZdsEyMqKUtw@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=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).