zsh-users
 help / color / mirror / code / Atom feed
* what zshcompsys-syntax is equals compctl -C -f ?
@ 2005-11-04  9:34 Eike Kroemer
  2005-11-04 10:21 ` DervishD
  2005-11-04 10:33 ` Peter Stephenson
  0 siblings, 2 replies; 3+ messages in thread
From: Eike Kroemer @ 2005-11-04  9:34 UTC (permalink / raw)
  To: zsh-users

Hi there,

just recently I had to upgrade from zsh 4.0.6 to zsh 4.2.1 and now I'm
unable to reproduce the filename-completion behaviour I'm used to.

My old .zshrc had the lines

-------------------------------->
#### options for zsh-behaviour
setopt always_to_end
setopt auto_list
unsetopt automenu
setopt auto_param_slash
setopt bsd_echo
setopt csh_null_glob
setopt extended_glob
unsetopt menu_complete
unsetopt rec_exact
setopt no_nomatch
setopt rmstarsilent
setopt sh_file_expansion
setopt nocorrect
setopt nocorrect_all
unsetopt auto_remove_slash
# expand only to filenames
compctl -C -f
--------------------------------<

and I used "compctl -C -f" to avoid path-lookup in completion.
For example assume my $PWD has a subdirectory "bin/" and I want to call
"Script" located in this dir.

As long as compctl -C -f worked I could enter "bi<tab>" and zsh would
expand to bin/, the only file or directory starting with "bi" present in
$PWD.

But now that compctl is deprecated I'm unable to configure the new-style
behaviour of zshcompsys to reproduce the desired result.
Default-behaviour is to include all executables in $PATH beginning with
"bi", sadly yielding

kroemer@pcma44:~ > bi<tab>
bibtex       bindkey      bioradtopgm  bitmap
bin/         binhex       bison

which is of no use to me :-(
Can anyone help?

Thanks in advance....
   Eike


-- 
           "...but plagiarize, plagiarize, plagiarize,
         only be sure to always call it please -- research"
                     (Tom Lehrer: Lobachevsky)


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

end of thread, other threads:[~2005-11-04 10:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-04  9:34 what zshcompsys-syntax is equals compctl -C -f ? Eike Kroemer
2005-11-04 10:21 ` DervishD
2005-11-04 10:33 ` Peter Stephenson

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