zsh-workers
 help / color / mirror / code / Atom feed
From: Abhishek Banerji <abhishekbanerji1999@gmail.com>
To: zsh-workers@zsh.org
Subject: zsh-newuser-install running before global "source" files
Date: Tue, 16 Aug 2022 01:26:39 +0530	[thread overview]
Message-ID: <CAG6tSrdExjBsj3581zLFVnLfkwSdvLs3Tj7scOkegV1_-YZxWg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Hi,
I noticed that no matter where I set ZDOTDIR env variable,
zsh-newuser-install will always look for $HOME/.z* files and shows the new
user message and prompt. But I can press 'q' and it will then source
$ZDOTDIR files and everything works from there. but every new shell (via
ssh) or terminal i open the new user prompt shows up.

I have set ZDOTDIR env variable in the following files and in
zsh-newuser-install the variable is not set.

ones i had to create
/etc/zprofile
/etc/zshenv
/etc/zshrc

this one was already present
/etc/zsh/zprofile

DISTRO: Archlinux

[-- Attachment #2: Type: text/html, Size: 757 bytes --]

             reply	other threads:[~2022-08-15 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15 19:56 Abhishek Banerji [this message]
2022-08-16  7:03 ` Daniel Shahaf

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=CAG6tSrdExjBsj3581zLFVnLfkwSdvLs3Tj7scOkegV1_-YZxWg@mail.gmail.com \
    --to=abhishekbanerji1999@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).