AI Shell Command Generator using LLM
- Prompts
llm
to write you a simple shell command with an explanation. - Copies the command to your clipboard (even if you cancel generation before the explanation completes).
llmc revert the changes from the last two git commits
Install and configure the llm CLI tool. Add the llmc
function to your .zshrc
.
- Prompts specifically for a ZSH command on a macOS machine
- Obviously, be careful running commands you don't understand & use at your own risk.
Very good one, Any plans for bash? I can work on this but, I thought of asking first if you are planing for this.