Bonjour !

I want to use - and learn - zsh instead of tcsh.

The ~.zshrc file - in place of the ~.cshrc file - is :

print zsh version $ZSH_VERSION
source /sw/bin/init.csh
print $path

And at login I get this parse error :


zsh version 4.0.4
/sw/bin/init.csh:85: parse error near `unset'
/usr/bin /bin /usr/sbin /sbin /Users/fderive
Francis-Derives-Computer%


Our /sw/bin/init.csh is like that :


# read per-package scripts from /sw/etc/profile.d
if ( -d /sw/etc/profile.d ) then
  set nonomatch
  foreach i ( /sw/etc/profile.d/*.csh )
    if ( -x $i ) then
      source $i
    endif
  end
  unset i nonomatch   <== line 85
endif


Anybody could help sorting this out ?


Merci beaucoup.


Francis.




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to