ccline: AI answers at the zsh prompt — built for lazygit-type users #5686
jianshuo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey lazygit community! 🐙
If you use lazygit, you've already decided that powerful, keyboard-driven terminal workflows are worth investing in. I built something in that spirit.
It's ccline — AI at your zsh prompt.
What it does
ccline hijacks zsh's
command_not_found_handler. Type something that's not a real command — plain English, a question, a description — and it asks Claude AI right in your terminal. Answer renders as Markdown. Press Enter to run suggested commands.No mode switch. No new window. Just type your git question at the zsh prompt.
Why it works for lazygit users
Lazygit covers the TUI workflow beautifully. But complex or unusual git operations (bisect, reflog, worktrees, submodules) sometimes need a command you haven't memorized. ccline fills that gap — quick AI answers without leaving your terminal flow.
Install
curl -fsSL https://raw.githubusercontent.com/jianshuo/ccline/main/install.sh | bashRequires
ANTHROPIC_API_KEY.→ https://github.com/jianshuo/ccline
Beta Was this translation helpful? Give feedback.
All reactions