Mac 创建并使用 .zshrc 文件

1,打开终端输入指令

bash 复制代码
touch .zshrc

2,你可能希望将 .bash_profile 文件中的内容复制到 .zshrc 文件中,那建议复制过来。

3,使用 .zshrc 文件

执行以下指令:

bash 复制代码
source .zshrc

注:以后希望使用 .bash_profile 了,再执行 source .bash_profile 吧。

完!

相关推荐
k4m7v2pz13 小时前
用中文编程语言写游戏:玄铁语言生命游戏的 macOS 适配实录
游戏·macos·玄铁·生命游戏·中文编程语言·玄铁中文编程
大熊猫侯佩1 天前
macOS27 上可变界面尺寸 iOS App 揭秘
macos·ios·swiftui
tangzzzfan1 天前
把 ADB 装进 macOS app
macos
黑化旺仔8 天前
【OC】KVO
macos·ios·objective-c·cocoa
Liekkas Kono9 天前
macOS 27 安装 VMware Fusion 和 Win11 经验
macos·win11·vmware
shark-chili11 天前
关于AI辅助编程的认知
数据库·人工智能·redis·macos·缓存
zwd200511 天前
Mac 上写英文遇到不会的词,有哪些工具?输入法、翻译软件、写作助手怎么选
人工智能·macos·效率工具·英语写作·输入法·deepl·翻译工具
33三 三like11 天前
Jx-Mac 本地部署过程总结
macos
大象AI共学12 天前
想在手机上读 Obsidian?Mac → iPhone / 安卓的零成本方案
macos·智能手机·iphone
sysinside13 天前
如何创建可引导的 macOS Golden Gate 27 安装介质
macos