Tech
[分享发现] zshrc:一个开源极简 macOS App,只做一件事,打开查看、编辑 ~/.zshrc,保存自动 source
zshrc
zshrc 一个极简 macOS App ,打开就能查看、编辑 ~/.zshrc ,保存自动执行 source ~/.zshrc 。
安装
1 、推荐使用安装脚本:
curl -fsSL https://raw.githubusercontent.com/iHongRen/zshrc/main/install.sh | sh
默认会安装到 /Applications/zshrc.app 。
2 、手动安装:
从 GitHub Releases 下载最新的 zshrc.dmg 后安装。终端执行命令,去除未签名应用的隔离属性:
xattr -dr com.apple.quarantine /Applications/zshrc.app
功能特性
直接编辑 ~/.zshrc
行号显示与 Shell 语法高亮
搜索栏、结果计数、上一个/下一个匹配跳转
保存时执行语法检查
保存成功后自动执行 source ~/.zshrc
显示保存状态、语法状态、光标行列号
支持放大、...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX