Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

IlyaKamens

macrumors newbie
Original poster
Jul 25, 2011
3
0
Hi,

A while ago, I wrote a Terminal script that executes "cd Desktop" every time I start Terminal.

With the release of Lion, this is no longer necessary as Terminal remembers where I last left off. I can't figure out how to disable/delete the script because I can't find it. There are also no options in the Terminal preferences that can help me. Does anyone have an idea as to how I might be able to disable/delete this script?

Thank you,
Ilya
 
In the Terminal preferences, on the Settings tab, there's a text field for a command to run when starting up. This may be where you placed it.

Also check in your home directory if you have anything in your .profile or .bash_profile (you may have neither file) that might be running it.
 
Hi,

A while ago, I wrote a Terminal script that executes "cd Desktop" every time I start Terminal.

With the release of Lion, this is no longer necessary as Terminal remembers where I last left off. I can't figure out how to disable/delete the script because I can't find it. There are also no options in the Terminal preferences that can help me. Does anyone have an idea as to how I might be able to disable/delete this script?

Thank you,
Ilya

Perhaps an execution call to it in your .bashrc, .bash_aliases, .bash_profile those are the normal *nix files read on every login which is what a new start of Terminal would be.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.