Invoke the power of the command line with a whisper!
Tired of remembering complex commands? 🧙♂️ Zummoner is a Zsh plugin that summons the right command for you, using the magic of a Large Language Model (LLM). Just describe what you want to do, and Zummoner does the rest!
- Command Conjuration: Describe your task in plain English, and Zummoner generates the command. ✨
- System Aware: Knows your system (
uname -a
) and user for tailored spells. 🤖 - Modern Magic: Prefers modern tools like
homectl
,ip
,systemctl
, andjournalctl
. 🚀 - Safety First: Commands are vetted for reliability (but always review before running!). 🛡️
- Customizable LLM: Pick your favorite LLM model! 🧠
- Seamless Integration: Works directly within your Zsh shell. 🐚
You cann zplug, zinit, zgen it ... it's the right format orrrr manually:
git clone https://github.com/day50-dev/zummoner.git $HOME/.local/zummoner
echo source \$HOME/.local/zummoner/zummoner.zsh >> $HOME/.zshrc
source $HOME/.zshrc
Keybinding: Zummoner uses ^Xx
(Ctrl+x, then x) by default. It'll let you know if that key is already taken!
- Type what you want to do (e.g., "list all files in the current directory sorted by size").
- Press
^Xx
. - Zummoner will show the command!
- Press Enter to execute. 💥
- LLM Required: Zummoner needs access to simon w's llm.
- Network Connection: Requires internet access to reach the LLM.
- Review Commands: Always check the generated command, especially if it uses
sudo
! - System Differences: Commands may need tweaking depending on your Linux distribution.
This project was a prototype for something much more ambitious of what is now called ono.