Closed cpitclaudel closed 2 years ago
You can add a function to comint-redirect-filter-functions
to remove your second prompt line. native-complete-style-regex-alist
is only used for determining the completion style and regex doesn't have any effect beyond that.
Maybe there's a way to print a special delimiter at the end of the completion list to solve this problem?
That's an interesting idea. I will have to look into that more. Though that would only work for bash
style completion.
My prompt is on two lines; it looks like this:
As a result, the current working directory always and up as part of my completion list. I used this:
And the regexp does seem to work fine (if I change
bash
tofoo
and call(native-complete-get-completion-style)
I getfoo
), but I still get my current working directory included in completions.Maybe there's a way to print a special delimiter at the end of the completion list to solve this problem?
Thanks again for your work on this. I'm excited to finally have decent completion in my emacs shell.