delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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?= <skoehler AT upb DOT de> |
Subject: | /etc/profile always does a "cd $HOME" |
Date: | Sun, 22 May 2005 21:19:25 +0200 |
Lines: | 17 |
Message-ID: | <d6qm36$var$1@sea.gmane.org> |
Mime-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |