Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: =?ISO-8859-15?Q?Sven_K=F6hler?= Subject: /etc/profile always does a "cd $HOME" Date: Sun, 22 May 2005 21:19:25 +0200 Lines: 17 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-IsSubscribed: yes 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/