View previous topic :: View next topic |
Author |
Message |
Gentist Apprentice
Joined: 20 Mar 2004 Posts: 247
|
Posted: Wed Oct 18, 2006 4:46 pm Post subject: start a terminal in a specific directory? |
|
|
Is there a way to make a terminal (say, urxvt) start in a specified directory, instead of the directory it's executed from? The reason I'm asking is because one program I'm running uses / as start directory, instead of ~/, which is a bit annoying. |
|
Back to top |
|
|
freelight Apprentice
Joined: 12 Jun 2004 Posts: 295 Location: NYC, NY, USA
|
Posted: Wed Oct 18, 2006 5:11 pm Post subject: |
|
|
Warning: quick and dirty hack ahead.
Code: | echo "cd ~" >> ~/.bashrc |
_________________ "If ignorance is bliss, why aren't more people happy?" --Thomas Jefferson
"Let the gremlins eat your soul... it's invigorating." --LD |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|