Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/shells
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30847

Modified Files:
        zsh-templates.info 
Log Message:
zsh-templates shells/10.4 unstable new version

Index: zsh-templates.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/shells/zsh-templates.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- zsh-templates.info  13 Aug 2005 00:17:51 -0000      1.7
+++ zsh-templates.info  13 Aug 2005 21:40:50 -0000      1.8
@@ -1,8 +1,8 @@
 Package: zsh-templates
-Version: 0.9.3
+Version: 0.9.4
 Revision: 1
 Source:  http://chemistry.ucsc.edu/~wgscott/mystuff/%n-%v.tgz
-Source-MD5: a59f474665a446267494bd3b84b1a220 
+Source-MD5: cec3327a3cc6a137c2b767482605f341  
 Depends: macosx, zsh (>= 4.2.1-13)
 License: GPL
 Maintainer: W. G. Scott <[EMAIL PROTECTED]>
@@ -23,6 +23,8 @@
 mkdir -p %i/etc/zsh
 #
 cp -rf Library/init/zsh/* %i/share/zsh/templates/Library/init/zsh/.
+perl -pi.bak -e 's|/Library/init|%p/share/zsh/templates/Library/init|g' 
Library/LaunchAgents/*
+rm -f Library/LaunchAgents/*.bak
 cp -rf Library/LaunchAgents/* %i/share/zsh/templates/Library/LaunchAgents/.
 cp -rf Applications/* %i/share/zsh/templates/Applications/.
 cp etc/zsh* %i/share/zsh/templates/etc/.
@@ -38,16 +40,36 @@
 #
 ln -s %p/share/zsh/templates/etc/zshenv %i/etc/zsh/zshenv
 ln -s %p/share/zsh/templates/etc/zshrc %i/etc/zsh/zshrc
+#
+mkdir -p  %i/etc/profile.d
+#
+cat >|  %i/etc/profile.d/%n.sh  << eof-1
+#
+if [[ -n \$ZSH_NAME ]];then
+    if [[ -z \$(/bin/launchctl list | grep zsh.fink.completion ) ]];then
+        /bin/launchctl load 
%p/share/zsh/templates/Library/LaunchAgents/zsh.fink.completion.plist
+    fi
+    if [[ -z \$(/bin/launchctl list | grep zsh.open.completion ) ]];then
+        /bin/launchctl load 
%p/share/zsh/templates/Library/LaunchAgents/zsh.open.completion.plist
+    fi
+fi 
+#
+
+eof-1
+#
+echo "# This file is an empty place-holder. "  >|  %i/etc/profile.d/%n.csh
+#
+chmod a+x %i/etc/profile.d/%n.*sh
 <<
 PostInstScript: <<
 chmod a+x 
%p/share/zsh/templates/Library/init/zsh/local-functions/darwin/whatsnew
 echo ""
-echo 
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+echo 
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
 echo "Please issue \"fink describe zsh-templates\","
 echo "or \"man zsh-templates\" for more details."
 echo "Please issue 
%p/share/zsh/templates/Library/init/zsh/local-functions/darwin/whatsnew"
 echo "to find out what's new in this version."
-echo 
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+echo 
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
 echo ""
 sleep 5
 <<
@@ -78,10 +100,9 @@
 designed in such a way that they should not require editing.
 
 5 The faster-loading "open" completion function is now enabled
-by default. However, to ensure it functions optimally, type the
-command "enable_faster_open".  On 10.3 it requires an up-to-date
-locate database to find the various Applications. It will
-prompt you to update this.
+by default on 10.4, and you should not have to do anything other
+than start a zsh shell. On 10.3 it requires an up-to-date
+locate database to find the various Applications.  
 
 6 You can customize the behavior of X11 by issuing 
 "customize_x11" or "customize_x11_gui". Several
@@ -112,13 +133,7 @@
 of zsh. Some of these (_open, _fink) have been modified to work 
 faster.
 
-The open -a completion can be further enhanced by copying the 
-file in /sw/share/zsh/templates/Library/LaunchAgents into
-/Library/LaunchAgents in OS X 10.4.  Although optional, this
-greatly enhances the speed of the completion the first time it
-is invoked. Similarly, a LaunchAgent for fink completions is
-now provided to sync zsh completions with the database of
-packages.
+
 
 More details are available here:   http://tinyurl.com/4k7a9
 <<



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to