shell - 如何定位 .zshrc 文件?

标签 shell zsh zshrc

我用过 Homebrew在我的 Mac 上安装 Z shell (zsh) 5.0.7。
对于我的生活,.zshrc 无处可寻。它不在~中。不在/etc 或/etc/zshrc 中,因为他们在这里建议:http://zshwiki.org/home/config/files
我应该自己创建它吗?

最佳答案

当然。如果它还没有,请自己创建。

$ touch ~/.zshrc

关于shell - 如何定位 .zshrc 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26723293/

相关文章:

linux - expect 的输出不完整

macos - 为什么 zsh 中只有某些插件可以工作,而其他插件不能?

python - zsh:在 zsh 脚本中的heredoc之后转义换行符

macos - 安装 prezto 时遇到问题

unix - 猫文件| ... vs ... <文件

linux - 如何从不同的文本文件复制字符串以在单独的列中并排显示到 Bash 中的第三个文件中

linux - Bash read -p 不起作用

flutter - xcrun : error: invalid active developer path, problem after zsh update for flutter

macos - Mac OS X 上多个管理员用户的 Brew + Zsh + Oh My Zsh 的正确设置是什么?

shell - 为什么 zsh 将 ~/.zshrc 中的新行 (^M) 作为命令读取?