This is the mail archive of the
cygwin
mailing list for the Cygwin project.
/etc/profile always does a "cd $HOME"
- From: Sven Köhler <skoehler at upb dot de>
- To: cygwin at cygwin dot com
- Date: Sun, 22 May 2005 21:19:25 +0200
- Subject: /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/