[PR #724] Add ccline - type natural language at zsh prompt, get AI answer and run commands #13112

Open
opened 2026-06-21 09:20:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/alebcay/awesome-shell/pull/724
Author: @jianshuo
Created: 6/10/2026
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

  • ac7c364 Add ccline - natural language at zsh prompt with AI-powered command execution

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What does this add?

ccline — hijacks zsh's command_not_found_handler so you can type a natural-language thought directly at your prompt (no command, no prefix). It calls Claude or Codex, renders the answer as Markdown, and if the response contains shell commands, shows an interactive arrow-key menu to confirm and run them.

$ how do I find files bigger than 100MB here

    find . -maxdepth 1 -type f -size +100M

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
  • No extra dependencies: just zsh + claude or codex CLI
  • One-word inputs (typos) pass through normally — no accidental API calls
  • Selected commands run in the live shell (so cd, export etc. actually persist)

Added near thefuck under Command-Line Productivity as it solves the same "I don't know the exact command" problem with an AI-powered approach.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/alebcay/awesome-shell/pull/724 **Author:** [@jianshuo](https://github.com/jianshuo) **Created:** 6/10/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`ac7c364`](https://github.com/alebcay/awesome-shell/commit/ac7c364adfc8ce4362f468638c135d93431a3a8b) Add ccline - natural language at zsh prompt with AI-powered command execution ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What does this add? [ccline](https://github.com/jianshuo/ccline) — hijacks zsh's `command_not_found_handler` so you can type a natural-language thought directly at your prompt (no command, no prefix). It calls Claude or Codex, renders the answer as Markdown, and if the response contains shell commands, shows an interactive arrow-key menu to confirm and run them. ``` $ how do I find files bigger than 100MB here find . -maxdepth 1 -type f -size +100M 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 ``` - No extra dependencies: just zsh + `claude` or `codex` CLI - One-word inputs (typos) pass through normally — no accidental API calls - Selected commands run in the live shell (so `cd`, `export` etc. actually persist) Added near `thefuck` under **Command-Line Productivity** as it solves the same "I don't know the exact command" problem with an AI-powered approach. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-21 09:20:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-shell#13112