zsh-workers
 help / color / mirror / code / Atom feed
* Possibly a bug involving rcs flag on mac?
@ 2019-02-19 23:04 Guðmundur Páll Kjartansson
  2019-02-20  2:06 ` Eric Cook
  2019-02-20  5:11 ` Bart Schaefer
  0 siblings, 2 replies; 4+ messages in thread
From: Guðmundur Páll Kjartansson @ 2019-02-19 23:04 UTC (permalink / raw)
  To: zsh-workers

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?

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

end of thread, other threads:[~2019-02-20 13:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19 23:04 Possibly a bug involving rcs flag on mac? Guðmundur Páll Kjartansson
2019-02-20  2:06 ` Eric Cook
2019-02-20  5:11 ` Bart Schaefer
2019-02-20 13:48   ` Guðmundur Páll Kjartansson

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).