From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10535 invoked from network); 22 Jul 2021 08:52:50 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Jul 2021 08:52:50 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1626943970; b=1Q5ULR3aZcWtqujLzjo3o86uGyQduFZwu/ARECQPQyIXtJJMB/7AOjbfgn4OKGMebppbWpC2cT ei5CmYN2Ig5U7zPMZdY5eYBP0fxk5MKhUO1rCZZAnU4RumUp1FNeUDb4TE7dtxy98EQJnkNMzA 9dMAdmltKoCcqum+wpInTeGzZ8lvrkdX5UxtOSA3QBftuHIPmiIW4UL4LX1lgwZb8MwY0RgEin 1WL8RWC4nZtnQXHb/jB9gPDnE0B1ji6M+e5Ah7dYLWfsfCmL63cYAg8a/liElI7VHK2EWXg4By OCE9dLRrYQ+arfgJyv0+c5vMfoTDIqc4htY5sB4rZaDnwQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f51.google.com) smtp.remote-ip=209.85.208.51; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1626943970; bh=OCY10mUlW9JJ9uNAbH3FsiyRHdQtmae4+9DKjiDalKI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=BNtPLM4mKHr8iVf9fgLYGHfmfH2Nr0kGcIZAT0M3m8PwFQoweMxX5d7CbtdMWZhNYspxDAc7Yv q7jaffMQfizw5DG7EYb0h6LgBarKb4P2USRiTIRNRz6Exrvt67g8NJ7umKO2dr8jItC5lf6N/L hEmHRoD1ZBX83nFhHOJY5vAqhyAEt5KA8aBUo2LfLCBgNyYlrr0ax0dxX1fE1qAE1bN1p/2dIq euXpF/0taW3/6wGCSaRfQ8bXCw9Z39crUL8vGDMnpNGCmMpy/SYWR8yHB0XIpNhYcwaQqa3v6R vK6chkLLK6PcNIIu+fX+DqVYYh53sIkU+0/0z/QWQoGDUA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=OCY10mUlW9JJ9uNAbH3FsiyRHdQtmae4+9DKjiDalKI=; b=W0RbNLntbalJgNFcBEuPhMuIJk IVCNIBMozrvAmj3cemBejKhRJV4p6NejskQnFipN7XDyC84JXxdZ69qdJo4dL8vpS2/XQ2/5e88Jn IL/yT7lbAveqUE3ZP6uVnJqPl1zsDYRCrPukWTuJSSm51S7m1RAMdowjc37ffhytAcAOcnedSIfGV 05SLGYusf9+eUljb7CracK0h0NSUllrLvOPEL1VRqDCmFcwzfXE+cI7tKxb15wiKzR+GVWuzES3vC Hbvgu2wBWhYwhrANs98FGK9fHsDDcGBLTYUuQZcqSAH8A7wq5ef1ZKUopSaQr3B8U1k8QBiGJA1gg rNWtAMGA==; Received: from authenticated user by zero.zsh.org with local id 1m6URg-000Fqx-Sv; Thu, 22 Jul 2021 08:52:44 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f51.google.com) smtp.remote-ip=209.85.208.51; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ed1-f51.google.com ([209.85.208.51]:43630) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1m6UQv-000F8T-Mm; Thu, 22 Jul 2021 08:51:58 +0000 Received: by mail-ed1-f51.google.com with SMTP id l26so5822934eda.10 for ; Thu, 22 Jul 2021 01:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OCY10mUlW9JJ9uNAbH3FsiyRHdQtmae4+9DKjiDalKI=; b=Fc0V/n71HIg2MDwAPoF8iBuI2xkx1AWYJ5GGivVlCvOipoB2yLKonOVCBtZ8uOBrqt Z9uvuP6bJQ6yFFFU9oXvxp1EUyFUxO9PbmuPiDoW5ge05yLR0bFrDxro0a3l+0aYqW/k 6jTuTn6HZ/4fL/tUO+XSJI7+MnCv8uyYE3pGiojqhaQjvALNS09Jubo0ZrPi6x5vyZUk /S/BlmadyfdHaWIzTimYwCsbIH+Mf/mvXN69HekoCJMXm3bKB9CAIZ3AJHfsAb9YbguS ykX4onpQ1UHIn9sxK1HtGYqcUFC+1xj8jZZTOLAxRyrS9WDee9/71dmGsimmZRywLtZD 0OjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OCY10mUlW9JJ9uNAbH3FsiyRHdQtmae4+9DKjiDalKI=; b=RvqMQGy1dr0EOi5o6Q2tAgXyRED58Covj/SsH7ZoZzbnxZCfc0B37zvCfM7A7PfL+s FfjBmSz+bi8uk1cK5IK7kqblKxLP/RUMM46Bzsbu/U/Fmr0fZ6mhOKARBaRBCJgdG3KJ mJaOkbsMwp3GhoZhesmPx1bmNiV5Hc9mZrB/m8wBBOqGi/9L4u9NlQnHKvN8DetwLcoU woQ8bwtTfNdh5EAEr5hSgxab3xC2jSlUaGAHfhT3DCiW3vvkJCDrfiIPkRkEc165MI6u mipFprHX71p1nhf02OMy/bB6ftXzvbP+tpRBuo5ywK/WWWfLm6dBTu43s1pHEe2VAwrR vPyA== X-Gm-Message-State: AOAM533umtb2FQh0b/ea3sb2NU87hKEkd3jf4OVTwVIxCLDF2b9QRP+U HCyNr8NW2TRgYq+LvdoU3+VerL5dyQGP37MG1pv8VXNm X-Google-Smtp-Source: ABdhPJyWEgJ1/8iJfseQXYOD+p0W2Olh2H888v2dnJVSxmitGen/ozJTHyFbtILfhxxagiJaVbbAUeEj6HRgySkXpgQ= X-Received: by 2002:a50:cc0a:: with SMTP id m10mr33497652edi.302.1626943916882; Thu, 22 Jul 2021 01:51:56 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?UGV0ZXIgU2zDrcW+aWs=?= Date: Thu, 22 Jul 2021 10:51:40 +0200 Message-ID: Subject: Aliases (abbreviations) for command completion? To: zsh Content-Type: multipart/alternative; boundary="0000000000003c404705c7b266ac" X-Seq: 26792 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --0000000000003c404705c7b266ac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =3D> outcomingmessageeditor cs =3D> changestatus Best regards, Peter Sl=C3=AD=C5=BEik --0000000000003c404705c7b266ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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 abbrevi= ation expanded to the whole command name (taking into account that the abbr= eviation is not a prefix of the completed text).

For exam= ple:

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

Best regards,
Peter Sl=C3=AD=C5=BEik
--0000000000003c404705c7b266ac--