zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
To: Stefan `Sec` Zehl <sec@42.org>
Cc: zsh-workers@sunsite.dk
Subject: Re: zsh 4.x bug in completion?
Date: Mon, 09 Jul 2001 22:49:17 +0400	[thread overview]
Message-ID: <3B49FCAD.7080505@mow.siemens.ru> (raw)
In-Reply-To: <20010709203306.A24119@matrix.42.org>

Stefan `Sec` Zehl wrote:

> 
> So i go to the beginning of the line, and add "sud"-<TAB>. The line now
> looks like this:
> 
> | nuyen% sudo echo test 
> 


Use new completion (you are better off to remap TAB to complete-word 
instead of expand-or-coplete)

{pts/1}% zsh -f
localhost% autoload -U compinit; compinit
localhost% zstyle ':completion:*' completer _oldlist _complete _match 
_prefix
localhost%  zstyle ':completion:*' add-space true
localhost% setopt completeinword
localhost% echo test
test
localhost% sudTABecho  test
localhost% sudo echo test
test


-andrej





  reply	other threads:[~2001-07-09 18:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-09 18:33 Stefan `Sec` Zehl
2001-07-09 18:49 ` Andrej Borsenkow [this message]
2001-07-09 18:54 ` Peter Stephenson
2001-07-09 19:31   ` Oliver Kiddle
2001-07-10  5:24     ` Andrej Borsenkow
2001-07-10  8:10       ` Bart Schaefer
2001-07-10  9:19         ` Sven Wischnowsky
2001-07-10  9:32           ` Peter Stephenson
2001-07-10 16:33             ` Bart Schaefer
2001-07-11  8:20               ` Sven Wischnowsky
2001-07-10  5:54     ` Thomas Köhler

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=3B49FCAD.7080505@mow.siemens.ru \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=sec@42.org \
    --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).