zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Matt Armstrong <matt@corp.phone.com>, zsh-users@sunsite.auc.dk
Subject: Re: (forw) --help able programs and completion]
Date: Mon, 26 Jun 2000 16:03:23 +0000	[thread overview]
Message-ID: <1000626160323.ZM29980@candle.brasslantern.com> (raw)
In-Reply-To: <20000626083438.B22758@corp.phone.com>

On Jun 26,  8:34am, Matt Armstrong wrote:
}
} squeaker% tar --_main_complete:142: permission denied:
} <then I press ENTER again>
} tar: You must specify one of the `-Acdtrux' options
} Try `tar --help' for more information.
} 
} Let me know if there is more I can help to debug this.

The standard thing nowadays is to use the _complete_debug binding, which
should be ctrl-x question-mark.  You type <C-x?> instead of <TAB> at any
lace where the new completion system is giving you trouble, and it'll
`setopt xtrace` (temporarily) and dump the output into a temp file.

An entry is made into your command history to run an editor or pager on
the temp file (so you can use ctrl-p to find it).  Most of the time it
also manages to tell you what it did and the name of the temp file, but
that doesn't always work because other completion output may cover it up.  

} Line 142 of _main_complete is:
} 
}     elif "$tmp"; then

(That's line 152 in the latest CVS snapshot.)

That's supposed to be executing a completer, which should be a shell
function.  If that's really where the error is occuring (I ought to trust
zsh's line numbering more than I do) then you probably have a bad entry
in your "completer" zstyle.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2000-06-26 16:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-26 11:12 Sven Wischnowsky
2000-06-26 15:19 ` Bart Schaefer
2000-06-26 15:34   ` Matt Armstrong
2000-06-26 16:03     ` Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-06-27 11:08 Sven Wischnowsky
2000-06-27 14:36 ` Bart Schaefer
2000-06-27 14:46   ` Andrej Borsenkow
2000-06-26 11:08 Matthias Kopfermann

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=1000626160323.ZM29980@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=matt@corp.phone.com \
    --cc=zsh-users@sunsite.auc.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).