zsh-workers
 help / color / mirror / code / Atom feed
From: Hong Xu <hong@topbug.net>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: Link gpg2 to gpg in the auto completion scripts
Date: Fri, 7 Nov 2014 22:36:17 -0800	[thread overview]
Message-ID: <20141108063617.GA32708@home.hong.me> (raw)
In-Reply-To: <141107203312.ZM18247@torch.brasslantern.com>

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

On Fri, Nov 07, 2014 at 08:33:12PM -0800, Bart Schaefer wrote:
> On Nov 7,  2:01am, Hong Xu wrote:
> }
> } While on many systems the command "gpg" refers gpg version 2, on some
> } systems, such as OS X, use "gpg2" to refer it. I suggest to add a
> } symbolic link so that both "gpg" and "gpg2" commands can work.
> } 
> } What do you think?
> 
> A symlink isn't necessary.
> 
> 
> diff --git a/Completion/Unix/Command/_gdb b/Completion/Unix/Command/_gdb
> index 48c9d65..ab40e82 100644
> --- a/Completion/Unix/Command/_gdb
> +++ b/Completion/Unix/Command/_gdb
> @@ -1,4 +1,4 @@
> -#compdef gdb
> +#compdef gdb gdb2
>  
>  local cur="$words[CURRENT]" prev w list ret=1 expl
>  

Thanks it looks reasonable. The gdb should be gpg though.

Hong

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-11-08  6:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 10:01 Hong Xu
2014-11-08  4:33 ` Bart Schaefer
2014-11-08  6:36   ` Hong Xu [this message]
2014-11-08 20:05     ` Bart Schaefer
2014-11-08 23:47       ` Oliver Kiddle

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=20141108063617.GA32708@home.hong.me \
    --to=hong@topbug.net \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@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).