micr0-dev / lexido

A terminal assistant, powered by Generative AI
GNU Affero General Public License v3.0
221 stars 8 forks source link

API not saving for zsh (v1.0.1) #15

Closed swayz8148 closed 6 months ago

swayz8148 commented 6 months ago

I have to put in the API key every time I use lexido

in my .zshrc file every time i run lexido it puts export GOOGLE_AI_KEY='MYKEY'

so if i run lexido two times I get this at the bottom of my .zshrc file

export GOOGLE_AI_KEY='MYKEY'

export GOOGLE_AI_KEY'MYKEY'

swayz8148 commented 6 months ago

edited my .zrshrc file with nano and no for some reason it works sorry

micr0-dev commented 6 months ago

Everything is fixed? v1.0.1 no longer tries to save it as an environment variable, it's only used as a fallback. If there are any issues please let me know