zsh-workers
 help / color / mirror / code / Atom feed
* _canonical_path not working on *BSD
@ 2008-03-26 10:44 Baptiste Daroussin
  2008-03-26 15:01 ` Debian bugs (Re: _canonical_path not working on *BSD) Bart Schaefer
                   ` (3 more replies)
  0 siblings, 4 replies; 37+ messages in thread
From: Baptiste Daroussin @ 2008-03-26 10:44 UTC (permalink / raw)
  To: zsh-workers

Hi,

_canonical_path is not working on freebsd, it rely on readlink which  
does work the same on BSD :
on openbsd -q options doesn't exist : umount[tab] gives readlink:  
unknown option -- q
on freebsd readlink: illegal option -- q

there is on patch on freebsd ports which uses /usr/sbin/stat that  
works but then the completion is buggy
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/shells/zsh/files/patch-Completion-Unix-Type-_canonical_paths?rev=1.1;content-type=text%2Fplain


umount /h[tab]
gives me umount /h/
then [tab] again gives me umount /h//

so currently the work around is to replace _canonical_path by compadd  
-a in _mount (udevordir) and it works

I can't find any clue to correct the bug myself.

Thanks
Bapt

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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

end of thread, other threads:[~2008-03-28 14:36 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-26 10:44 _canonical_path not working on *BSD Baptiste Daroussin
2008-03-26 15:01 ` Debian bugs (Re: _canonical_path not working on *BSD) Bart Schaefer
2008-03-26 15:25   ` Clint Adams
2008-03-26 15:05 ` _canonical_path not working on *BSD Peter Stephenson
2008-03-26 15:27   ` Baptiste Daroussin
2008-03-26 15:34     ` Peter Stephenson
2008-03-26 15:51       ` Pea
2008-03-26 15:59       ` Clint Adams
2008-03-26 15:21 ` Pea
2008-03-26 15:36 ` Bart Schaefer
2008-03-26 15:40   ` Peter Stephenson
2008-03-26 16:04     ` Peter Stephenson
2008-03-26 16:18       ` Bart Schaefer
2008-03-26 16:21       ` Peter Stephenson
2008-03-26 16:38         ` Pea
2008-03-26 16:46           ` Peter Stephenson
2008-03-26 17:08             ` Pea
2008-03-26 17:17             ` Baptiste Daroussin
2008-03-27 10:23             ` Peter Stephenson
2008-03-27 11:08               ` Pea
2008-03-27 11:25                 ` Peter Stephenson
2008-03-27 12:15                   ` PATCH: cd -q (was Re: _canonical_path ...) Peter Stephenson
2008-03-27 12:25                     ` Stephane Chazelas
2008-03-27 12:35                     ` Mikael Magnusson
2008-03-27 12:48                       ` Peter Stephenson
2008-03-27 12:56                         ` Mikael Magnusson
2008-03-27 18:45                     ` Peter Stephenson
2008-03-28  8:16                       ` Pea
2008-03-28 11:01                       ` Mikael Magnusson
2008-03-28 14:35                         ` Peter Stephenson
2008-03-27 12:31                   ` _canonical_path not working on *BSD Pea
2008-03-27 15:39               ` Bart Schaefer
2008-03-27 18:06                 ` Peter Stephenson
2008-03-28  1:01                   ` Bart Schaefer
2008-03-28  7:51                     ` Mikael Magnusson
2008-03-28 10:01                     ` Peter Stephenson
2008-03-26 16:25       ` Pea

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