История изменений
Исправление intelfx, (текущая версия) :
Нет, не «вместо». zshall(1):
Commands are first read from /etc/zshenv; this cannot be overridden. <...> Commands are then read from $ZDOTDIR/.zshenv. If the shell is a login shell, commands are read from /etc/zprofile and then $ZDOTDIR/.zprofile. Then, if the shell is interactive, commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc. Finally, if the shell is a login shell, /etc/zlogin and $ZDOTDIR/.zlogin are read.
Ну и таки да, там zprofile вместо profile.
Исправление intelfx, :
Нет, не «вместо». zshall(1):
Commands are first read from /etc/zshenv; this cannot be overridden. <...> Commands are then read from $ZDOTDIR/.zshenv. If the shell is a login shell, commands are read from /etc/zprofile and then $ZDOTDIR/.zprofile. Then, if the shell is interactive, commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc. Finally, if the shell is a login shell, /etc/zlogin and $ZDOTDIR/.zlogin are read.
Исходная версия intelfx, :
Нет, не «вместо». [url=]zshall(1):
Commands are first read from /etc/zshenv; this cannot be overridden. <...> Commands are then read from $ZDOTDIR/.zshenv. If the shell is a login shell, commands are read from /etc/zprofile and then $ZDOTDIR/.zprofile. Then, if the shell is interactive, commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc. Finally, if the shell is a login shell, /etc/zlogin and $ZDOTDIR/.zlogin are read.