https://github.com/chetansk/shell-copilot
A simple contextual help for bash shell, using AI
https://github.com/chetansk/shell-copilot
bash co-pilot linux macos shell
Last synced: 3 months ago
JSON representation
A simple contextual help for bash shell, using AI
- Host: GitHub
- URL: https://github.com/chetansk/shell-copilot
- Owner: chetansk
- Created: 2025-03-14T07:24:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-18T03:25:44.000Z (over 1 year ago)
- Last Synced: 2025-06-10T23:07:40.873Z (about 1 year ago)
- Topics: bash, co-pilot, linux, macos, shell
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shell copilot
A simple contextual help, live on shell. Works on bash shell on Linux/MAC/Windows
## How to
* Copy the content of the file bashrc into your .bashrc file, maybe at the end
* logout and login
* At anypoint type aiHelp, followed by question
* for example:: aiHelp "How do I add user chetansk to sudo group
## Pre-requisite
* Install jq
* sudo apt install jq #Debian/Ubuntu
* brew install jq #macOS (Homebrew)
* Generate openAI API key