Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Tab Shell: C:\msys\1.0\bin\sh.exe --login -i

However Startup Dir doesn't seem to work, neither with C:\ nor /c/.

There is a similar question here, but it deals with Explorer extensions. I'm looking for a way to open the tab by default in a specific directory.

share|improve this question
up vote 1 down vote accepted

Looks like your bash version does not supports "startup directory". I believe it is not git-bash. git bash usually located in the another dir:

"C:\Program Files (x86)\Git\bin\sh.exe" --login -i

MinGW bash (in your case) does not support startup dir.

BTW, did you try ConEmu (I'm the author)? It is another windows terminal full of features.

share|improve this answer
    
I really did want to use MinGW bash, not Git bash. Thanks for the recommendation, I'll give ConEnum a try later. – Andrej Mitrović Nov 29 '12 at 15:53
    
Thought, if you need special dir on bash startup and it is persistent - you may add cd /c/... command to your bash profile script. – Maximus Nov 29 '12 at 19:08
    
Thanks again. I can change cd "$HOME" to cd /c/mydir in the \msys\1.0\etc\profile file and it works this way. – Andrej Mitrović Nov 30 '12 at 13:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .