zsh-workers
 help / color / mirror / code / Atom feed
From: "Guðmundur Páll Kjartansson" <gpk188@gmail.com>
To: zsh-workers@zsh.org
Subject: Possibly a bug involving rcs flag on mac?
Date: Tue, 19 Feb 2019 23:04:10 +0000	[thread overview]
Message-ID: <CAAaMBvDV-bYMkf6E41gsSs1GwoUgQ8KwGxVKyycG0FURv7fKvg@mail.gmail.com> (raw)

Greetings

I have some strange buggy behaviour going on. If I run zsh in a bash
terminal window, it will not run .zshrc:

$ zsh

If I instead do this:

$ zsh --rcs ~/.zshrc

Then it will run .zshrc ... but it will also exit immediately ... this
happens even if I run it in interactive mode:

$ zsh --interactive ~/.zshrc

If I add the below lines to the top of my .zshrc file, I can clearly
see the difference in having the --interactive flag ... but it exits
immediately either way:

echo "running zshrc"
if [[ -o interactive ]]; then; print yes; else; print no; fi

I am using zsh version 5.7.1 ... I also tried it with 5.6.2 and even
5.3 ... but no luck ...

I tried doing the same thing on my friends mac ... and there it worked
without any problems (just running zsh straight from bash) ...

Any idea what the issue might be?

             reply	other threads:[~2019-02-19 23:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 23:04 Guðmundur Páll Kjartansson [this message]
2019-02-20  2:06 ` Eric Cook
2019-02-20  5:11 ` Bart Schaefer
2019-02-20 13:48   ` Guðmundur Páll Kjartansson

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=CAAaMBvDV-bYMkf6E41gsSs1GwoUgQ8KwGxVKyycG0FURv7fKvg@mail.gmail.com \
    --to=gpk188@gmail.com \
    --cc=zsh-workers@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).