Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coding with VIM



Am 30.01.2004 um 22:15 schrieb Justin Walker:

On Friday, January 30, 2004, at 11:17 AM, Markus Hitter wrote:

Try a

	cd /path/to/wherever/i/want

in your bashrc or .bashrc

This won't work if you are executing your 'rc' file as a script that terminates. The 'cd' only has effect for the process where it is executed (and subprocesses).

Am 31.01.2004 um 04:45 schrieb Kevin Grant:

It ought to work if a new shell is created.


What are you talking about here, Gentlemen? None of .profile, .cshrc, bashrc, .bashrc, .kshrc or whatever init script(s) your shell uses is executed as a terminating script. If bashrc whould be a terminating script, all variable settings whould be lost as well since you can't set variables in the parent shell, right?

To be bulletproof, I just tested my suggestion and it works :-)


Have fun, Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Coding with VIM (From: Justin Walker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.