Skip to content

Add agent-shell-session-prompt-exclude-choices defcustom#612

Open
nhojb wants to merge 3 commits into
xenodium:mainfrom
nhojb:f/session-prompt-choices
Open

Add agent-shell-session-prompt-exclude-choices defcustom#612
nhojb wants to merge 3 commits into
xenodium:mainfrom
nhojb:f/session-prompt-choices

Conversation

@nhojb
Copy link
Copy Markdown
Contributor

@nhojb nhojb commented Jun 1, 2026

Adds agent-shell-session-prompt-exclude-choices defcustom to support filtering of the prompt choices when starting a new shell.

For example you can exclude the downloads and temp options:

(setq agent-shell-session-prompt-exclude-choices '(:downloads-shell :temp-shell))

Checklist

  • I agree to communicate (PR description and comments) with the author myself (not AI-generated).
  • I've reviewed all code in PR myself and will vouch for its quality.
  • I've read and followed the Contributing guidelines.
  • I've filed a feature request/discussion for a new feature.
  • I'm making visual changes, so I'm including screenshots so you can view and discuss.
  • I've added tests where applicable.
  • I've updated documentation where necessary.
  • I've run M-x checkdoc and M-x byte-compile-file.

@nhojb nhojb changed the title Add agent-shell-session-prompt-choices defcustom Add agent-shell-session-prompt-exclude-choices defcustom Jun 1, 2026
@xenodium
Copy link
Copy Markdown
Owner

xenodium commented Jun 1, 2026

Thanks for the PR.

Unfortunately, I may need to defer this PR for some time until I address some of the consolidation I mentioned in #605 (comment)

At present, I'm worried we may be adding too many customizations in this particular area. I'll wait and see if there's more demand for the filtering. Sorry.

@nhojb nhojb force-pushed the f/session-prompt-choices branch from 8816824 to ff73303 Compare June 2, 2026 13:29
@nhojb
Copy link
Copy Markdown
Contributor Author

nhojb commented Jun 2, 2026

No problem, I understand.

I created the PR because I personally don't use the Downloads and temp choices, so wanted to reduce the noise in the new-session-prompt buffer. But it's not urgent at all.

@nhojb nhojb force-pushed the f/session-prompt-choices branch from ff73303 to 615b8de Compare June 5, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants