ihongren

zshrc:一个开源极简 macOS App,只做一件事,打开查看、编辑 ~/.zshrc,保存自动 source

  •  
  •   ihongren · Jun 23 · 2574 views
    This topic created in 134 days ago, the information mentioned may be changed or developed.

    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
    • 显示保存状态、语法状态、光标行列号
    • 支持放大、缩小、恢复默认字号
    • 支持浅色 / 深色 / 跟随系统
    • 支持英文 / 简体中文界面
    • 可以在 Finder 中定位 .zshrc
    16 replies  •  2026-06-24 23:46:16 +08:00
    cryptovae
    cryptovae
    Jun 23❤️1
    1
    我缓缓打出一个?

    code ~/.zshrc

    另外你这个 source 我没看懂,source 我理解是对当前终端刷新的,你这不是 source 了个寂寞
    mgcnrx11
    mgcnrx11
    Jun 23❤️1
    2
    @cryptovae 是 source 了个寂寞
    Hack3rHan
    Hack3rHan
    Jun 23
    3
    没有恶意,但是确实不太理解。改 zshrc 本身就不是一个高频行为,直接 vim 好像更顺手。
    SilentOrFight
    4
    想法“不错”,开心就好,极简到几乎不需要 coding 这个东西出来
    itechify
    itechify
    Jun 23
    5
    黑人问号
    spike0100
    spike0100
    Jun 23
    6
    可以考虑加入版本管理。这样会有点用
    ihongren
    ihongren
    OP
    Jun 23
    7
    嗯有道理,source 在这里确实没有用。去掉。
    ourongxing
    8
    有点抽象
    deplives
    deplives
    Jun 23❤️1
    9
    真的是 token 多的没地儿用
    keenkiller
    10
    vim 够用了。。。或者我直接让 codex 改也行啊
    kneep
    kneep
    Jun 23
    11
    震惊
    Keystroke
    Keystroke
    Jun 23
    12
    你让 AI 写这个的时候,AI 没给你做需求分析吗?
    WickedZX
    WickedZX
    Jun 23
    13
    理解不了
    izoabr
    izoabr
    Jun 23
    14
    可以说是很伟大的创新了,考不考虑来科创板呀?
    19cm
    19cm
    Jun 23❤️1
    15
    你好不如写个 vscode 插件, 在 vsocde 里一键打开
    as9567585
    as9567585
    Jun 24
    16
    唉,生产力严重过剩。大家说转行有什么方向可以考虑呢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1678 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 23:39 · PVG 07:39 · LAX 15:39 · JFK 18:39
    ♥ Do have faith in what you're doing.