FS#24708 - [zsh] modutils completion
Attached to Project:
Arch Linux
Opened by drexya (drexya) - Monday, 13 June 2011, 01:39 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 19 June 2011, 11:08 GMT
Opened by drexya (drexya) - Monday, 13 June 2011, 01:39 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 19 June 2011, 11:08 GMT
|
Details
Last zsh update break modprobe & modinfo completion
because of some modifications in
'/usr/share/zsh/functions/Completion/Linux/_modutils' (line
110):
modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko)(.:t:r) ) # in zsh 4.3.12 (last version) modules=( $modules_dir/$kver/(*~(source|build))/**/*(.:t:r) ) # in zsh 4.3.11 (previous) modifying this line like that solves 2 problems, zsh finds the modules and remove all the suffixes in the completion menu : modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz)(.:t:r:r) ) Discussion in this thread : https://bbs.archlinux.org/viewtopic.php?id=120666 PS : sorry for my poor English. |
This task depends upon
Comment by Pierre Schmitz (Pierre) -
Monday, 13 June 2011, 12:32 GMT
Comment by drexya (drexya) - Monday,
13 June 2011, 15:16 GMT
Comment by Greg (dolby) - Monday, 13
June 2011, 17:43 GMT
Comment by drexya (drexya) - Sunday,
19 June 2011, 03:29 GMT
Comment by Pierre Schmitz (Pierre) -
Sunday, 19 June 2011, 11:08 GMT
If you like you should report this upstream to the zsh project as
compressed kernel modules are not specific to Arch.
Ok, done. However bug tracker at sourceforge seems to be dead (no
response, no task assigned...), I'll submit a patch if nothing
happens.
Try sending a patch at
zsh-workers@zsh.org
Patch applied upstream >
http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/.git;a=commit;h=9dc573c260d1a413e9c0c1a02464f835772d0416
Thanks a lot. I'll apply that patch to our package for now.