Update 3 files: .zlogin, .zprofile, .zshenv
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
# ~/.zprofile: Executed once for LOGIN shells (initial terminal/SSH).
|
# ~/.zprofile: Executed once for LOGIN shells (initial terminal/SSH).
|
||||||
# Use for one-time setup: PATH modifications, starting agents, or environment exports.
|
# Use for one-time setup: PATH modifications, starting agents, or environment exports.
|
||||||
# Runs BEFORE .zshrc. Ideal for variables that shouldn't be re-evaluated in every sub-shell.
|
# Runs BEFORE .zshrc. Ideal for variables that shouldn't be re-evaluated in every sub-shell.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# .zshenv: Executed for EVERY zsh invocation (interactive, non-interactive,
|
||||||
|
# login, scripts). Use only for environment variables and PATH that ALL shells
|
||||||
|
# need. Avoid aliases, functions, prompt config, or anything interactive-only.
|
||||||
|
|||||||
Reference in New Issue
Block a user