zsh-users
 help / color / mirror / code / Atom feed
* Aliases (abbreviations) for command completion?
@ 2021-07-22  8:51 Peter Slížik
  2021-07-22 17:50 ` Grant Taylor
  2021-07-22 21:03 ` Bart Schaefer
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Slížik @ 2021-07-22  8:51 UTC (permalink / raw)
  To: zsh

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

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

[-- Attachment #2: Type: text/html, Size: 732 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-22 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22  8:51 Aliases (abbreviations) for command completion? Peter Slížik
2021-07-22 17:50 ` Grant Taylor
2021-07-22 21:03 ` Bart Schaefer

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