Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

compctl Problem



Hiya

I finally persuaded our sysadm to upgrade (to zsh-3.1.0), but I'm
having trouble with compctl's -g option.  I can't seem to persuade
^pattern to work to negate a pattern.  I've tried some of the examples
provided in Misc/compctl-examples and they don't seem to work either.
An example one is:

compctl -x 'R[-*[dt],^*]' -g '*.(gz|z|Z|t[agp]z|tarZ|tz)' + -g '*(-/)' + -f - \
    's[]' -g '^*(.(tz|gz|t[agp]z|tarZ|zip|ZIP|jpg|JPG|gif|GIF|[zZ])|[~#])' \
    + -f -- gzip

Typing gzip <TAB> gives a beep and no completions.  I went back to
2.5.03 and it works just fine.

#Sysinfo
$ uname -a
HP-UX ecu A.09.03 A 9000/715 2001941880 two-user license

Cheers
Mark
-----
Mark Robinson, Dept of Computing Science and Mathematics
Stirling University.  Tel: (01786)467440            __o
http://www.cs.stir.ac.uk/~mro                     _ \<_
mailto:mro@xxxxxxxxxxxxx                         (_)/(_)



Messages sorted by: Reverse Date, Date, Thread, Author