![]() Typically used to autostart graphical sessions and to set session-wide environment variables. $ZDOTDIR/.zprofile Used for executing user's commands at start, will be read when starting as a login shell./etc/profile This file should be sourced by all POSIX sh-compatible shells upon login: it sets up $PATH and other environment variables and application-specific ( /etc/profile.d/*.sh) settings upon login. ![]() See warning below before wanting to remove that! Please note that on Arch Linux, by default it contains one line which sources /etc/profile. /etc/zsh/zprofile Used for executing commands at start for all users, will be read when starting as a login shell.When this file exists it will always be read. $ZDOTDIR/.zshenv Used for setting user's environment variables it should not contain commands that produce output or assume the shell is attached to a TTY.When this file exists it will always be read, this cannot be overridden. /etc/zsh/zshenv Used for setting environment variables for all users it should not contain commands that produce output or assume the shell is attached to a TTY.When starting, Zsh will read commands from the following files in this order by default, provided they exist. If option GLOBAL_RCS is unset in any of the files, no global configuration files ( /etc/zsh/*) will be read after that file.If option RCS is unset in any of the files, no configuration files will be read after that file.If $ZDOTDIR is not set, $HOME is used instead.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |