zshrc
zshrc, short for Z shell run commands, is the primary startup script for interactive Z shell sessions. On Unix-like systems, the user-specific configuration is stored in ~/.zshrc, while a system-wide variant exists at /etc/zshrc. When a new interactive zsh session starts, zsh reads /etc/zshrc first and then sources ~/.zshrc, allowing local customization to override system defaults. Login shells may also process other files such as ~/.zprofile, but .zshrc is the standard place for interactive behavior.
zshrc is used to set environment variables, modify PATH, define aliases and functions, configure the prompt,
Editing and reloading: after saving changes, run source ~/.zshrc or exec zsh to apply. Note that non-interactive