https://github.com/mysticquest/other-bashgpt
Chatgpt prompts with command support for bash shell experimentation.
https://github.com/mysticquest/other-bashgpt
bash bashrc chatgpt
Last synced: 3 months ago
JSON representation
Chatgpt prompts with command support for bash shell experimentation.
- Host: GitHub
- URL: https://github.com/mysticquest/other-bashgpt
- Owner: MysticQuest
- Created: 2023-03-30T00:23:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T21:57:13.000Z (about 2 years ago)
- Last Synced: 2025-01-20T21:38:57.133Z (5 months ago)
- Topics: bash, bashrc, chatgpt
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Copy paste the function to your bash.bashrc, and use the command in a bash shell
Examples:
Answers rhetorical questions:
q "why hasn't regex been banned yet?"Reads a CSV:
q "suggest a dish from the following $(cat menu.csv) and tell me its price"Reads a PDF and stores its summary in a txt:
q "can you read this $(pdftotext mybiography.pdf - | cat) and write a summary" > summary.txt