You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built ccline — a zsh shell integration that brings the claude CLI to your everyday terminal workflow.
The concept: instead of switching windows to ask Claude a question, you just type it directly at your zsh prompt.
How it works: ccline hijacks command_not_found_handler. When you type something that is not a real command:
One word → treated as a normal typo
Two or more words → sent to Claude (or Codex as fallback), answer rendered as Markdown
Any shell commands in the answer appear in an arrow-key menu — hit Enter and they run in your live shell (so cd, export, history all persist).
$ how do I find files bigger than 100MB here
find . -maxdepth 1 -type f -size +100M (rendered as Markdown)
Commands found — ↑/↓ to choose, Enter to run, q to cancel:
❯ find . -maxdepth 1 -type f -size +100M
find . -type f -size +100M
➤ Run all of them
✗ Cancel
$ find . -maxdepth 1 -type f -size +100M
./big.iso
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I built ccline — a zsh shell integration that brings the
claudeCLI to your everyday terminal workflow.The concept: instead of switching windows to ask Claude a question, you just type it directly at your zsh prompt.
How it works: ccline hijacks
command_not_found_handler. When you type something that is not a real command:Any shell commands in the answer appear in an arrow-key menu — hit Enter and they run in your live shell (so
cd,export, history all persist).Install (one line):
curl -fsSL https://raw.githubusercontent.com/jianshuo/ccline/v0.2.2/install.sh | bashRequires zsh + the
claudeCLI (which all Claude Code users already have). No extra dependencies.GitHub: https://github.com/jianshuo/ccline | Homepage: https://ccline.jianshuo.dev
Happy to answer questions!
Beta Was this translation helpful? Give feedback.
All reactions