implements script to add openai token to bashrc

This commit is contained in:
2024-09-28 23:21:58 -07:00
parent 53400d5a2a
commit 6c57795962
4 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
key=$(gpg --decrypt openai)
echo "export OPENAI_API_KEY=\"${key}\"" >>~/.bashrc
echo "OpenAI Token saved to bashrc: ${key}"