zsh-workers
 help / color / mirror / code / Atom feed
* path completion in menu selection and exact match
@ 2002-06-02 13:25 Borsenkow Andrej
  2002-06-04  8:08 ` Sven Wischnowsky
  0 siblings, 1 reply; 2+ messages in thread
From: Borsenkow Andrej @ 2002-06-02 13:25 UTC (permalink / raw)
  To: Zsh hackers list

There is peculiar problem in path completion using menu selection.

{pts/0}% cd /u/s/li/fsTAB
{pts/0}% cd /usr/src/linux-2.4.18-18mdk/fs/
Completing directory
linux@               linux-2.4.18-13mdk/  linux-2.4.18-17mdk/
linux-2.4.18-18mdk/

now I have two possibility - accepting match so far and hitting a-a-m-c.
If I hit accept (= ENTER) and then ENTER to execute I get:

{pts/0}% cd /usr/src/linux-2.4.18-18mdkfs/
cd:cd:2: no such file or directory: /usr/src/linux-2.4.18-18mdkfs/

i.e. `/' is autoremoved.

If I hit a-a-m-c I get:
{pts/0}% cd /usr/src/linux-2.4.18-18mdk/fs/adfs/
Completing directory
adfs/         affs/         autofs/       autofs4/      bfs/
coda/         cramfs/       devfs/        devpts/       efs/
...

i.e. it tries to complete further.

The first case appears as a bug to me ... it may be depndent on
completinword settings still autoremoving path separator in the middle
of path does not look like a right thing to do.

The second case is just nasty :-0

I do not actually have an idea what it should do as yet (except "it
should do what I intend").

-andrej






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

* Re: path completion in menu selection and exact match
  2002-06-02 13:25 path completion in menu selection and exact match Borsenkow Andrej
@ 2002-06-04  8:08 ` Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2002-06-04  8:08 UTC (permalink / raw)
  To: zsh-workers


Borsenkow Andrej wrote:

> ...
> 
> now I have two possibility - accepting match so far and hitting a-a-m-c.
> If I hit accept (= ENTER) and then ENTER to execute I get:
> 
> {pts/0}% cd /usr/src/linux-2.4.18-18mdkfs/
> cd:cd:2: no such file or directory: /usr/src/linux-2.4.18-18mdkfs/
> 
> i.e. `/' is autoremoved.
> 
> If I hit a-a-m-c I get:
> {pts/0}% cd /usr/src/linux-2.4.18-18mdk/fs/adfs/
> Completing directory
> adfs/         affs/         autofs/       autofs4/      bfs/
> coda/         cramfs/       devfs/        devpts/       efs/
> ...
> 
> i.e. it tries to complete further.

I get neither of these, so I need more information about your
configuration.


Bye
  Sven

-- 
Sven Wischnowsky                          wischnow@berkom.de


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

end of thread, other threads:[~2002-06-04  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-02 13:25 path completion in menu selection and exact match Borsenkow Andrej
2002-06-04  8:08 ` Sven Wischnowsky

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