zsh-workers
 help / color / mirror / code / Atom feed
* zsh 4.x bug in completion?
@ 2001-07-09 18:33 Stefan `Sec` Zehl
  2001-07-09 18:49 ` Andrej Borsenkow
  2001-07-09 18:54 ` Peter Stephenson
  0 siblings, 2 replies; 11+ messages in thread
From: Stefan `Sec` Zehl @ 2001-07-09 18:33 UTC (permalink / raw)
  To: zsh-workers

Hi,

I'm a long-time user of zsh, and like it very much. I noticed there was
a new release, and thought I should upgrade because some of the
minor shortcomings of the 3.0.x-series might have been fixed. So I
upgraded from zsh3.0.x to zsh4.0.2 and noticed that it behaves
completely different. While I detest changing so much of the integral
behaviour, most of this was configurable, so i could restore the old
behaviour, and regain my sanity.

One thing, though, looks like a bug to me, at least I found no way to
turn it off.

To verify it, I used plain setup except a different binding for tab:

| nuyen:~>zsh -f
| nuyen% echo $ZSH_VERSION 
| 4.0.2
| nuyen% bindkey ^i expand-or-complete-prefix

Now we enter a command. 

| nuyen% echo test
| test

Lets assume this fails due to lacking permissions. I want to prepend
"sudo " to this command (sudo runs its arguments as root)

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

| nuyen% sudo echo test 

With the cursor beeing on the "e" of echo.
Now hit enter.

| nuyen% sudoecho test 
| zsh: command not found: sudoecho

zsh removes the space. I have no idea who had that brilliant idea.

I found no option to turn this off. The closest ones, auto_param_keys
and auto_remove_slash seem to have no effect on that.

Please help,
    Sec
-- 
(Learn Lisp.  (Really.  (I'm serious.  (Trust me. (It rocks all over.)))))
-- Matt Curtin <cmcurtin@interhack.net> on freebsd-chat


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-07-11  8:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-09 18:33 zsh 4.x bug in completion? Stefan `Sec` Zehl
2001-07-09 18:49 ` Andrej Borsenkow
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

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).