Skip to content

Variables for cache paths? #123

Answered by TheR1D
transcendr asked this question in Q&A
Mar 31, 2023 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

Thank you for the feedback! It is possible to use environment variables for any parameters defined in the rc file. You can use the same names. For instance, you can define:

export CHAT_CACHE_PATH=/path/to/cache

ShellGPT prioritizes ENV variables. In this case, no matter where CHAT_CACHE_PATH in the rc file points, the one from ENV will be used.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@transcendr
Comment options

@transcendr
Comment options

@TheR1D
Comment options

@transcendr
Comment options

Answer selected by TheR1D
Comment options

You must be logged in to vote
2 replies
@transcendr
Comment options

@edshamis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants