Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Guessing is hard for computers; could you come up with some patterns you’d like it to try? For example, substituting a missing initial character. Commented Jan 29, 2018 at 0:02
  • I think in most cases this guessing mechanism would be helpful is when actually changing directories. That is when I type sluggish and in a hurry. Following the example above, cd *ments* does what I want. But using wildcards every time kind of beats the purpose of doing things fast. Commented Jan 29, 2018 at 15:56
  • 1
    It's not terribly complicated. The Z shell, if configured to do so, can do exactly the completion described in the question. Commented Jan 30, 2018 at 13:23
  • zstyle ':completion:*' matcher-list 'b:=*' Commented Feb 11, 2018 at 18:35