xenodium / chatgpt-shell

A multi-llm Emacs shell (ChatGPT, Claude, Gemini) + editing integrations
https://xenodium.com
GNU General Public License v3.0
846 stars 75 forks source link

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

Closed ccqpein closed 3 months ago

ccqpein commented 5 months 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 5 months 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 5 months 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.

ccqpein commented 3 months ago

Just minor suggestion. no need to change.