xenodium / chatgpt-shell

ChatGPT and DALL-E Emacs shells + Org babel 🦄 + a shell maker for other providers
https://xenodium.com
GNU General Public License v3.0
792 stars 68 forks source link

[minor] Is it possible re-export the `shell-maker-transcript-default-path` too? #212

Open ccqpein opened 3 weeks ago

ccqpein commented 3 weeks ago

It looks like chatgpt-shell is using the shell-maker-save/restore-session-transcript functions and it checks the shell-maker-transcript-default-path. Could we export this setting to chatgpt-shell so that I can customize the path through configuration?

P.S.: Since chatgpt-shell requires shell-maker, I can define the setting in shell-maker. If you think it's unnecessary, that's fine with me too.

xenodium commented 3 weeks ago

(setq shell-maker-transcript-default-path "~/My/favourite/path") should work for any shell depending on shell-maker. Does it work for you in chatgpt-shell?

I've been slowly moving chatgpt-shell things into shell-maker, though I need to figure out what's the best strategy to expose shell-maker settings to its clients also.

ccqpein commented 3 weeks ago

Yes, that’s what I do for now. Just would be more clear if the shell-maker-transcript-default-path has its own alias in chatgpt-shell.