Skip to main content

you-should-use - 一个提醒你使用别名和现代命令的 Shell 插件分享一个自己写的 Shell 插件,主要解决两个痛点:1. 设了一堆别名但总是忘记用2. 还在用 cat/ls/find 这些老命令,不知道有更好的替代比如你输入 git checkout -b feature ,但你已经有 gcb 这个别名,它会提醒你:💡 Hey! You should use your alias: gcb → git checkout -b也会建议你用现代工具替代旧命令:💡 Hey! You should use: eza → ls (modern replacement with git integration)主要特性:● 支持 Zsh 、Bash 和 Nushell● 检测普通别名、Git 别名、全局别名、后缀别名● 推荐 eza 、bat 、ripgrep 、fd 、zoxide 等现代 CLI 工具● 缺少工具时显示安装命令● 可选 AI 建议(本地 LLM )● Homebrew / zinit / oh-my-zsh / curl 一键安装安装: brew install vangie/formula/you-should-use或curl -fsSL

  1. you-should-use - 一个提醒你使用别名和现代命令的 Shell 插件

    分享一个自己写的 Shell 插件,主要解决两个痛点:

    1. 设了一堆别名但总是忘记用
    2. 还在用 cat/ls/find 这些老命令,不知道有更好的替代

    比如你输入 git checkout -b feature ,但你已经有 gcb 这个别名,它会提醒你:

    💡 Hey! You should use your alias: gcb → git checkout -b

    也会建议你用现代工具替代旧命令:

    💡 Hey! You should use: eza → ls (modern replacement with git integration)

    主要特性:

    支持 Zsh 、Bash 和 Nushell
    检测普通别名、Git 别名、全局别名、后缀别名
    推荐 eza 、bat 、ripgrep 、fd 、zoxide 等现代 CLI 工具
    缺少工具时显示安装命令
    可选 AI 建议(本地 LLM )
    Homebrew / zinit / oh-my-zsh / curl 一键安装

    安装: brew install vangie/formula/you-should-use



    curl -fsSL https://ysu.codelife.me/install.sh | sh

    GitHub: https://github.com/vangie/you-should-use

    主页: https://ysu.codelife.me

    欢迎试用和反馈!

    via V2EX - 技术 (author: vangie)
👀 open eyes to see the world. 丨 site views: -