chiark / gitweb /
dot/zshenv: Don't read `~/.zprofile' in a login shell.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 12 Jul 2024 17:50:22 +0000 (18:50 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 12 Jul 2024 17:50:22 +0000 (18:50 +0100)
commit59f7f8f2d117940b6e7009a3951b4689fdd50659
tree344e22c1fa7cf189a87a974510f9c28498e0c2da
parentf22ce7740f3c33f8226c125bacc2642662fbb8c4
dot/zshenv: Don't read `~/.zprofile' in a login shell.

The `~/.zshenv' file gets read /before/ `~/.zprofile', so, if this is
a login shell, the profile would be read twice.  Take evasive action.
dot/zshenv