Fink not behaving with zsh

M

meltbanana314

Guest
I've been using bash on OS X lately because I couldn't figure out how to use my favourite shell (zsh) with Fink. Today I figured out how - sort of.

I've read through the documentation and I've added "source /sw/bin/init.sh" to my .profile in my home directory (without quotation marks, of course) but I still have to type in that whenever I open up the Terminal because for some reason, zsh isn't reading what I put in my .profile!

Can anybody tell me why this isn't working?

EDIT: Oddly, ". /sw/bin/init.sh" works just as "source /sw/bin/init.sh" does. Still have to manually type them into the Terminal though.
 
OP
M

meltbanana314

Guest
Fixed - turns out that zsh only reads the .profile when in sh and ksh compatibility mode. I needed to create my own .zshrc and .zprofile files and put the line in those to get it to work.
 

iWhat

,
Joined
Nov 11, 2004
Messages
5,736
Reaction score
164
Points
63
Location
Toledo, Ohio
Your Mac's Specs
Macbook, iMac G5, iPad, iPhone 4, iPod (MANY)!
Your problem is way above my head. LOL!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top