Skip to content

mmkostov/ai-command-correct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

AI Linux Shell Command Correction

This script integrates LLMs into your Linux shell, provides an explanation of a wrong command, and outputs the correct one.

Usage

Type any Linux command. If it's valid, it will be executed and the output will be printed. If not, the script will send a request to the API and return the correct command with an explanation.

You can use any API or model and customize the prompt to your needs.

Installation

Run the script by typing ./shell.sh in the terminal or paste it in your PATH.# ai-command-correct

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages