Mac zprofile. zprofile位于用户主目录下,是一个隐藏文件,用于存储Zsh shell的环境变量和启动配置。 2 Mac OS X doesn't store the path in file . zshrc? Also, wouldn't it be wiser to add all paths to . zshrc . zshenv 这些文件的作用如下: I've used bash for two years, and just tried to switch to zsh shell on my OS X via homebrew. from zsh document, ~/. zprofile” to open it in default text editor. I changed the color, size, etc. How do I create them? After that, what should I do so every time I open the terminal these files get read? If you install the bash-completion formula, this will automatically source the completions’ initialisation script (so you do not need to follow the instructions Here's how to fix the 'These settings have been configured by a profile' error on macOS Sonoma. So far there's about 4 different files I can add environmental variables to: Semi-automating profile installation in Big Sur It’s pretty well known among Mac admins that, starting with Big Sur (macOS 11), Apple has Zsh Profile . I put the alias in my ~/. iejtsi7hpaoxiol9ue1wx3gllie9tmpzhfzuhmgcj7ko1