Skip to content

feature: Allow file completion outside a project#373

Open
necaris wants to merge 1 commit intoxenodium:mainfrom
necaris:fix/better-completion
Open

feature: Allow file completion outside a project#373
necaris wants to merge 1 commit intoxenodium:mainfrom
necaris:fix/better-completion

Conversation

@necaris
Copy link
Contributor

@necaris necaris commented Mar 6, 2026

If not in a projectile or project.el project, use the agent-shell-cwd as the project root -- by default, though, list files only one level deep to minimize overwhelming responses.

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've added tests where applicable.
  • I've updated documentation where necessary.
  • I've run M-x checkdoc and M-x byte-compile-file.

If not in a `projectile` or `project.el` project, use the
`agent-shell-cwd` as the project root -- by default, though, list files
only one level deep to minimize overwhelming responses.
@xenodium
Copy link
Owner

xenodium commented Mar 6, 2026

Thanks for the PR.

I't be a shame to cap results when they could be genuinely useful for some directories that are not under revision control. Can't you disable agent-shell-completion-mode for the problematic directories?

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