Zsh Mailing List Archive
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author
Get the name of the completion function for a given command
X-seq
: zsh-users 26030
From
: Rudi C <rudiwillalwaysloveyou@xxxxxxxxx>
To
: zsh-users@xxxxxxx
Subject
: Get the name of the completion function for a given command
Date
: Sat, 22 Aug 2020 21:19:58 +0430
Archived-at
: <https://zsh.org/users/26030>
Archived-at
: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-08/CAE9z9A2aGv0Cb%2Bshfsqn1M7fkBRASvEe8fuC%2BF0BTFUvmsSihQ%40mail.gmail.com>
Authentication-results
: zsh.org; iprev=pass (mail-ot1-f41.google.com) smtp.remote-ip=209.85.210.41; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=skipped; arc=none
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=NseJfAhxbgHuiRj39s1tFWYVqaDrKY92icI/Ma6mK6A=; b=fHKx+CfS9eiOMFIJ9BVbIEBlhjF9L1iFO04401I6Lc4aR16u4QY8HD/hOjolZS5jfz 5IDYm4p6fcxeHCOk/3BMNfa/WpfVp5Ct2m2OnqYKXSVAw/1h+oPdtZifyOEMvPoLUu0u LhvgjRfRMDxjp9v4yLPzt5PW961Qs7AunPmXejaPSiwEkYIJ6uigkoX0VUb4qVODCIXA RTrZBMWjMGMMuIlTRfdo41gEvD0Ly+e4XmH64Q3NPlI8jd5VKGDo4vvvSPzYWUDtZlDL ojdwV2blVtBHBVU0aMtIs1jvN/nq+F10DsYaQ9EojiU4bIAE4najFPWOLySrFnU4/mQa 2aZQ==
List-archive
: <
http://www.zsh.org/sympa/arc/zsh-users
>
List-help
: <
mailto:sympa@zsh.org?subject=help
>
List-id
: <zsh-users.zsh.org>
List-owner
: <
mailto:zsh-users-request@zsh.org
>
List-post
: <
mailto:zsh-users@zsh.org
>
List-subscribe
: <
mailto:sympa@zsh.org?subject=subscribe%20zsh-users
>
List-unsubscribe
: <
mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users
>
Sender
: zsh-users-request@xxxxxxx
I want to get the completion function for a given command. I know I can assign such a completion function like so:
`compdef some_completion_function my_command`
But I want the reverse:
`compdef-get my_command #> some_completion`
Follow-Ups
:
Re: Get the name of the completion function for a given command
From:
Matthew Martin
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author