shell - bash/zsh: which files get loaded at login? -
today when checked $path
variable in z shell (on os x 10.8.3), got following result (i broke lines clarity):
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin: /opt/x11/bin:/usr/local/git/bin: /usr/texbin:/usr/gcc-4.8.0/bin:/opt/local/bin:/opt/local/sbin
the first , last lines quite normal. /usr/bin
etc. default; , /usr/gcc-4.8.0/bin:/opt/local/bin:/opt/local/sbin
manually loaded through ~/.zshrc
.
however, middle line peculiar. x11
, git
cannot default, , not appear in .zshrc
either. suppose there files other .zshrc
loaded @ login (i use login shells). these files then? in advance.
Comments
Post a Comment