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

Aliases (abbreviations) for command completion?




Hello,

is it possible to define something like "aliases" (apologies for the lack of a better term) for command completion?

If the completed command consists of multiple words, I would like to be able to type the first letters of individual words and have this abbreviation expanded to the whole command name (taking into account that the abbreviation is not a prefix of the completed text).

For example:

ome<Tab> => outcomingmessageeditor
cs<Tab> => changestatus

Best regards,
Peter Slížik


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