Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/shells In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv11205
Modified Files: zsh-templates.info Log Message: revised instructions to make them clearer Index: zsh-templates.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/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 27 Apr 2007 04:27:27 -0000 1.7 +++ zsh-templates.info 2 May 2007 04:29:39 -0000 1.8 @@ -1,6 +1,6 @@ Package: zsh-templates Version: 1.0.5 -Revision: 1 +Revision: 2 Source: http://xanana.ucsc.edu/~wgscott/mystuff/%n-%v.tgz Source-MD5: aa5e66f6cc1d2c4466cad36d76175382 Depends: macosx, zsh (>= 4.2.1-13) | zsh-multibyte @@ -68,65 +68,68 @@ chmod a+x %p/share/zsh/templates/Library/init/zsh/local-functions/darwin/whatsnew 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 is new in this version." +echo "Please issue \"fink describe zsh-templates\" for instructions." echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" echo "" sleep 5 << DescDetail: << -A wiki for zsh-templates has now been created, describing -what is in the package in detail. It can be visited at the -following URL: http://tinyurl.com/y3r4kp +=============================================================================== +These files work "out of the box" but you must set this up in one of two ways: -These files work "out of the box" but the template files -can be modified as follows. (The /sw/etc/zsh/zshenv and -/sw/etc/zsh/zshrc should not have to be modified. If you -have to modify these, please report this as a bug.) +Method 1: +========== -1 Issue sudo mkdir -p /Library/init +Make %p/bin/zsh your default user shell. To do so, you must edit the file +/etc/shells and add to it the line -2 Issue sudo cp -R /sw/share/zsh/templates/Library/init/zsh /Library/init/. -Those files will supercede the ones just copied, so edit those to make -your desired changes, not the ones under /sw. -Anything that appears in /Users/\$USER/Library/init/zsh -will be read IN ADDITION TO the other files. + %p/bin/zsh -3 To change the prompt theme, issue the command "switch_prompt" +Then issue the following command: -4 To use with /bin/zsh, copy or link the file -/sw/share/zsh/templates/etc/zshenv to /etc/zshenv and -likewise with /sw/share/zsh/templates/etc/zshrc to -/etc/zshrc. These two files are both required and have been -designed in such a way that they should not require editing. + chsh -s /sw/bin/zsh -5 The faster-loading "open" completion function is now enabled -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 -somewhat "hidden" features of X11.app can be enabled or disabled. +Method 2: +========== -7 The commands "user_setup" and "host_setup" can be invoked +Make /bin/zsh your default shell. To do this, issue + + chsh -s /bin/zsh + +Then create the following two symbolic links: + + sudo ln -s %p /share/zsh/templates/etc/zshenv /etc/. + sudo ln -s %p /share/zsh/templates/etc/zshrc /etc/. + +=============================================================================== +=============================================================================== + +A wiki for zsh-templates has now been created, describing +what is in the package in detail. It can be visited at the +following URL: http://tinyurl.com/y3r4kp + +To use vi keybindings instead of emacs, issue the command + + touch ~/.zshvi + +To change the prompt theme, issue the command "switch_prompt" + +The commands "user_setup" and "host_setup" can be invoked to fine-tune username and hostname completions for ssh, scp, switch_user, and so on. -8 The command "gdirs" provides a gui interface to the directory +You can customize the behavior of X11 by issuing +"customize_x11" or "customize_x11_gui". Several +somewhat "hidden" features of X11.app can be enabled or disabled. + +The command "gdirs" provides a gui interface to the directory stack. You can use an applescript-type interface instead of a Pashua-type interface by creating a file ~/.zshenv and putting into it the following line: export GUIDIRS_PASHUA='no' -9 A brief description of the functions and completions -provided can be had by typing "help_template_functions" -optionally with the function name. Only a subset are -autoloaded by default. Load others individually by -uncommenting "autoload -U foo" lines or setting the appropriate -vairables indicated in the file functions.local. +=============================================================================== Modifications and enhancements of zsh distributed templates were written by Gary Kerbaugh, W. G. Scott, Wataru Kagawa @@ -136,8 +139,7 @@ of zsh. Some of these (_open, _fink) have been modified to work faster. - - More details are available here: http://tinyurl.com/y3r4kp +=============================================================================== << HomePage: http://tinyurl.com/y3r4kp ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits