TheR1D / shell_gpt

A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
MIT License
8.86k stars 697 forks source link

Fix resolving of literal paths in configuration. (issue #428 ) #429

Closed gwpl closed 5 months ago

gwpl commented 6 months ago

Resolve paths in config e.g. with $HOME or ~:

CHAT_CACHE_PATH=$HOME/.cache/shell_gpt/chat_cache
CACHE_PATH=$HOME/.cache/shell_gpt/cache
ROLE_STORAGE_PATH=$HOME/.config/shell_gpt/roles
``

or

CHAT_CACHE_PATH=~/.cache/shell_gpt/chat_cache CACHE_PATH=~/.cache/shell_gpt/cache ROLE_STORAGE_PATH=~/.config/shell_gpt/roles



issue: #428
TheR1D commented 5 months ago

Closing this PR due to its age and inactivity. Please feel free to open a new pull request with updates.