Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Link gpg2 to gpg in the auto completion scripts



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: signature.asc
Description: Digital signature



Messages sorted by: Reverse Date, Date, Thread, Author