This is the mail archive of the
mailing list for the Cygwin project.
Re: customizing bash
- From: Reini Urban <rurban at x-ray dot at>
- To: vshastri at san dot rr dot com
- Cc: cygwin at cygwin dot com
- Date: Mon, 31 Jan 2005 15:00:36 +0100
- Subject: Re: customizing bash
- References: <email@example.com>
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:
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:
Then see the various bash beginner guides.
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html