This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

/etc/profile always does a "cd $HOME"


Hi,

i'd like to use cygwin from a normal windows-app. The problem is, that i
need a login-shell, so that all environment-vars are properly set. The
problem: bash -li always changes the current workdir!

IMHO, executing "bash -li" shouldn't change the workdir.
No other system i know does that. Script may rely on that behaviour.

/etc/profile contains the like
  cd "$HOME"

That line cannot easily be removed. Starting the Cygwin-Link installed
by the setup wouldn't cd to ~ anymore. This behaviours is liked by most
users i guess (including my own).

Any suggestions, how the situation could be improved?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]