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

tar's comletention of zsh



Dear devel team!

In the file /usr/share/doc/zsh/examples/jhm.zshrc.gz in my opinion
the next section is not really correct, because  lots of systems
(e.a. the linux [in this time]) the tar extract the .tar.bz with
``j'' option, (e.a. tar xfvj linux-2.2.20.tar.bz2).
The ``I'' parameter doesn't work.

190:compctl -f -x \
191:    'C[-1,*[xt]*f*z*] p[2]' -g '*.tar.gz *.tar.Z *.tgz' + -g '*(/)' - \
192:    'C[-1,*[xt]*f*I*] p[2]' -g '*.tar.bz *.tar.bz2 *.tbz' + -g '*(/)' - \
193:    'C[-1,*[xt]*f*] p[2]' -g '*.tar' -- \
194:    + -g '*(/)' tar

I suggest the next line here:
191:    'C[-1,*[xt]*f*j*] p[2]' -g '*.tar.bz *.tar.bz2 *.tbz' + -g '*(/)' - \

Hint: How can a little character modify your life?! :-)

Regards,
wizo



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