Type your goal then press [ESC]+[;]
ChatGPT explains the command, options, and places the command on your prompt, ready to edit or run.
> $ list images > thinking... > List all JPEG files (case-insensitive) recursively. > $ find . -type f -iname '.jpg' <-- cursor ends here
> $ omg delete the leftover git merge files > thinking... > Find and delete leftover Git merge files (typically named '.orig'). > • find . -type f -name '.orig' # preview > This will permanently delete all '.orig' files. Run without '-delete' to preview files. > $ find . -type f -name '.orig' -delete <-- cursor
> $ ps | grep node > thinking... > Close... 'ps | grep node' works, but often shows less info and may miss some processes depending on your shell/OS. 'ps aux' lists all processes, including the full command line. > $ ps aux | grep node <-- cursor
If there's a tool that does this, I'd love to know because I wrote this one and i suck at bash.