• Welcome to the new Mac-Forums. See News and Community Announcements for more details.

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.
 
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

,
Retired Staff
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!
 
Top