Daniel Bünzli
Daniel Bünzli
Your comment actually made me think of something else. To simplify let's just start with option/command names. No option values and no positional argument values. What about using the `--cmdliner`...
Thanks for your input @bobot. > It could be simpler if the empty string is used when completing after a whitespace. `--short --cmdliner-finish` would be `--cmdliner=--short` and `--short --cmdliner-start` would...
So for the past two hours I tried to understand how `zsh` completion works (because that's the shell by default on my system). I didn't manage, I feel very dumb....
So after a few more hours in this insanity I think [this](https://linux.die.net/man/1/zshcompwid) was the document I was looking for. Trying to understand this document leaves you wondering whether this complexity...
It's seems osx doesn't have these macros. `www.tmac` could be used but I'm unsure about portability.
Isn't that ` M-backspace` ?
Ping @kit-ty-kate
> I think especially for OCaml programs, which use mostly the snake_case naming convention, it makes sense to propose a method of removing words a bit more fine grade. TBH...
According to [readline's manual](https://tiswww.case.edu/php/chet/readline/rluserman.html) yes. I don't mind adding this. Just not the interpretation @kit-ty-kate wanted w.r.t. to `_`.
Either your `TERM` variable is unset or it's set to `dumb`. I believe the latter is set in `emacs` since the terminal has no ANSI capability IIRC (cf. `M-x shell`...