lov-zsh-alias

Installation
SKILL.md

终端快捷指令 · Shell Shortcuts

Append a zsh alias or function to ~/.zshrc behind sentinel markers, so re-running updates the entry in place instead of duplicating it. Works for both English (zxsd) and 中文 (中信书店) trigger names.

When to Use

  • User wants to bind a trigger word to a shell command ("我输入 X 就跑 Y")
  • User wants a 中文 trigger ("输入'中信书店'就启动 claude 说一句开心话")
  • User wants multiple aliases pointing to the same command
  • User wants to remove a previously-added alias

Do NOT use for:

  • System-level shortcuts that need to fire without pressing Enter — that's an input-method or Hammerspoon job, not a shell alias. Tell the user.
  • Non-zsh shells unless they explicitly pass --rcfile.

Workflow (MANDATORY)

Installs
3
GitHub Stars
72
First Seen
7 days ago