zsh-users
 help / color / mirror / code / Atom feed
From: Seth Tisue <seth@tisue.net>
To: zsh-users@zsh.org
Subject: Autocorrect for commands with a hyphen (dash) in the name
Date: Mon, 18 May 2020 17:15:09 -0700	[thread overview]
Message-ID: <CAOoO2vg=-9P7v=ATOzrbh6VF35o_xzK_-yF+EA6OgTHsQBik-A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

...doesn't work, in either zsh 5.7 or 5.8:

    % which aspell-import
    /usr/local/bin/aspell-import
    % apsell-import
    zsh: command not found: apsell-import

but the same isn't true for underscores:

    % which apfs_hfs_convert
    /sbin/apfs_hfs_convert
    % apsf_hfs_convert
    zsh: correct 'apsf_hfs_convert' to 'apfs_hfs_convert' [nyae]?

seems like a bug?

             reply	other threads:[~2020-05-19  0:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19  0:15 Seth Tisue [this message]
2020-05-19  0:38 ` Bart Schaefer
2020-05-19  0:52   ` Daniel Shahaf
2020-05-19 21:25     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOoO2vg=-9P7v=ATOzrbh6VF35o_xzK_-yF+EA6OgTHsQBik-A@mail.gmail.com' \
    --to=seth@tisue.net \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).