A simple bash script to help you with bash scripting and commands
Part of - One night project
- can help you to write commands, even if you forgot or messed up syntax
1. try to mess up any command - ,,whoami -> whooami,, or ,,neofetch -> noefetch,, and it will display you an option [Y/N] to get a AI response
or
2. try to input any prompt like - how do i stop a mysql service
Check bash.rc for alias
$ git clone
add this file to bash.rc as source or copy whole script and enter it directly to bash.rc
set your API URL
set your API KEY
select a desired model
$ sudo apt install curl
- curl
Source of this idea - https://github.com/Ce-daros/ai-bash-response/blob/main/sample.sh