New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Fink not behaving with zsh


Post Reply New Thread Subscribe

 
Thread Tools
meltbanana314
Guest
 
Posts: n/a

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.
QUOTE Thanks
meltbanana314
Guest
 
Posts: n/a

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.
QUOTE Thanks
iWhat

 
iWhat's Avatar
 
Member Since: Nov 11, 2004
Location: Toledo, Ohio
Posts: 5,734
iWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond repute
Mac Specs: Macbook, iMac G5, iPad, iPhone 4, iPod (MANY)!

iWhat is offline
Your problem is way above my head. LOL!
QUOTE Thanks

Post Reply New Thread Subscribe


« Xcode | XCode Include path problem »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Fink and finding programs wiz561 OS X - Development and Darwin 3 11-12-2004 10:39 PM
iFink i'll won't use Fink but Xfree86... but how... hype.it OS X - Development and Darwin 0 08-26-2004 04:43 PM
getting an X11 fink binary to run from the doc? fibbi OS X - Development and Darwin 3 08-04-2004 11:29 AM
Fink? X11? ??? WhitE_RabbiT OS X - Development and Darwin 7 05-24-2004 11:47 PM

All times are GMT -4. The time now is 06:52 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?