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 |
Message-ID: | <41FE3A04.1060204@x-ray.at> |
Date: | Mon, 31 Jan 2005 15:00:36 +0100 |
From: | Reini Urban <rurban AT x-ray DOT at> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616 |
MIME-Version: | 1.0 |
To: | vshastri AT san DOT rr DOT com |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: customizing bash |
References: | <9c322e9c2233 DOT 9c22339c322e AT socal DOT rr DOT com> |
In-Reply-To: | <9c322e9c2233.9c22339c322e@socal.rr.com> |
X-IsSubscribed: | yes |
vshastri AT san DOT rr DOT com schrieb: > I am a new cygwin user. I am not able to locate the .profile, .login .bashrc etc bash files, so I can use it to customize bash. I understand from various installation instruction that I red that the HOME env variable needs to be set for this. I followed the instructions given in many cygwin guides and install docs and updated my HOME environment variable both in my Windows system environment variable tab as > HOME=C:\Documents and Settings\vshastri > > And updated in cygwin.bat as follows before starting the bash shell: > @echo off > C: > chdir C:\cygwin\bin > set HOME=C:\Documents and Settings\vshastri > bash --login –i Very bad. HOME is set automatically. First by cygwin and then verified by your /etc/profile if running bash --login. man BASH => INVOCATION See the cygwin FAQ: http://cygwin.com/faq/faq_3.html#SEC37 Then see the various bash beginner guides. http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html And beware of the problem with spaces. esp. in your HOME. Recommended is make /home/vshastri a symlink or mount to "C:\Documents and Settings\vshastri", so you don't have to deal with the space in your HOME. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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 |