Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
.so vs .bundle on Mac
- X-seq: zsh-users 15581
- From: Sebastian Stark <seb-zsh@xxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxx>
- Subject: .so vs .bundle on Mac
- Date: Thu, 25 Nov 2010 17:11:57 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
my macports zsh installation uses .bundle as the extension for loadable modules and _zmodload fails at correctly completing these.
(The zsh that ships with Mac OS is using .so. From a quick google search it seems that either ".bundle" or ".so" can be used.)
Would the following patch make sense?
--- _zmodload.orig 2010-11-25 16:56:16.000000000 +0100
+++ _zmodload 2010-11-25 16:58:40.000000000 +0100
@@ -62,7 +62,7 @@
_requested loadedmodules expl 'loaded modules' \
compadd -k 'modules[(R)loaded]' && ret=0
_requested files expl 'module file' \
- _files -W module_path -/g '*.(dll|s[ol])(:r)' && ret=0
+ _files -W module_path -/g '*.(dll|s[ol]|bundle)(:r)' && ret=0
_requested aliases expl 'module alias' \
compadd "$suf[@]" -k 'modules[(R)alias*]' && ret=0
done
Sebastian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author