/etc/profile always does a "cd $HOME"
Sven Köhler
skoehler@upb.de
Mon May 23 04:50:00 GMT 2005
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/
More information about the Cygwin
mailing list