Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Autocorrect for commands with a hyphen (dash) in the name



...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?


Messages sorted by: Reverse Date, Date, Thread, Author