zsh-users
 help / color / mirror / code / Atom feed
From: Pier Paolo Grassi <pierpaolog@gmail.com>
To: Zsh-Users List <zsh-users@zsh.org>
Subject: complete as some other sub command
Date: Mon, 4 Nov 2024 17:42:19 +0100	[thread overview]
Message-ID: <CAP+y1xCzaXdfJFK2phezxUrEopVJkxHRXsF8icEE1SubowauWA@mail.gmail.com> (raw)

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

Hello, is it possible to make a function to inherit the completion contest
of another sub command? in my case i would like to make the function gd
complete as it was "git diff"
thanks in advance

Pier Paolo Grassi

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

             reply	other threads:[~2024-11-04 16:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-04 16:42 Pier Paolo Grassi [this message]
2024-11-04 16:59 ` Peter Stephenson
2024-11-04 17:14   ` Bart Schaefer
2024-11-05 11:57     ` Pier Paolo Grassi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP+y1xCzaXdfJFK2phezxUrEopVJkxHRXsF8icEE1SubowauWA@mail.gmail.com \
    --to=pierpaolog@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).