zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@sunsite.dk
Subject: PATCH: gdb corefile completion [was Re: Bug#99095: Process completion for gdb]
Date: Fri, 1 Jun 2001 08:13:32 -0400	[thread overview]
Message-ID: <20010601081332.A29661@dman.com> (raw)
In-Reply-To: <200106010730.JAA12419@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Fri, Jun 01, 2001 at 09:30:36AM +0200

> So, I would be happy if you choose to change the call to _files, and
> since noone complained that that would break core file completion on
> their system...

Well, here it is.

Index: Completion/Unix/Command/_gdb
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_gdb,v
retrieving revision 1.1
diff -u -r1.1 _gdb
--- Completion/Unix/Command/_gdb	2001/04/02 11:51:19	1.1
+++ Completion/Unix/Command/_gdb	2001/06/01 12:11:27
@@ -47,7 +47,7 @@
   done
 
   if [[ $#w -gt 1 ]]; then
-    _alternative 'files:: _files' "processes:: _pids -m ${w[1]:t}"
+    _alternative "files:: _files -g '*core'" "processes:: _pids -m ${w[1]:t}"
   else
     _description files expl executable
     _files "$expl[@]" -g '*(-*)'


      reply	other threads:[~2001-06-01 12:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20010528201016.A16176@alcor.net>
     [not found] ` <20010529104252.B403@dman.com>
     [not found]   ` <20010529134715.R27012@alcor.net>
     [not found]     ` <20010530104751.A28439@dman.com>
     [not found]       ` <20010530204009.C3810@alcor.net>
2001-05-31 14:07         ` Bug#99095: Process completion for gdb Clint Adams
2001-05-31 15:26           ` Sven Wischnowsky
2001-05-31 17:58             ` Clint Adams
2001-06-01  7:30               ` Sven Wischnowsky
2001-06-01 12:13                 ` Clint Adams [this message]

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=20010601081332.A29661@dman.com \
    --to=clint@zsh.org \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.dk \
    /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).