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: Jani Tiainen Subject: Re: customizing bash Date: Mon, 31 Jan 2005 10:06:08 +0200 Lines: 76 Message-ID: References: <9c322e9c2233 DOT 9c22339c322e AT socal DOT rr DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 195.236.144.25 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041118) In-Reply-To: <9c322e9c2233.9c22339c322e@socal.rr.com> X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org X-IsSubscribed: yes vshastri AT san DOT rr DOT com kirjoitti: > Hi, > > 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 > > > > I verified my update when I printed my environment variables and got the following (only showing relevant fields): > > $ env > > !::=::\ > > !C:=C:\cygwin\bin > > ALLUSERSPROFILE=C:\Documents and Settings\All Users > > ANT_HOME=C:\ant-1.6.2 > > APPDATA=C:\Documents and Settings\vshastri\Application Data > > CATALINA_HOME=C:\jakarta-tomcat-5.5.4 > > COMMONPROGRAMFILES=C:\Program Files\Common Files > > …. > > CVS_RSH=/bin/ssh > > FP_NO_HOST_CHECK=NO > > HOME=/cygdrive/c/Documents and Settings/vshastri > > HOMEDRIVE=C: > > HOMEPATH=\Documents and Settings\vshastri > > HOMESHARE=\\nas\users > > …… > > OLDPWD=/cygdrive/c/cygwin/usr/bin > > OS=Windows_NT > > > > Despite all these setup, I am still not able to see the creation of .profile, .login etc > > Please Help. How do I setup and access these files so I can ustomize my shell? > > Thanks Well, you have to create files by yourself with your favourite editor. If you really need basic files: cp /etc/skel/* ~ chown `echo $USER`: .bash_profile .bashrc .inputrc -- Jani Tiainen -- 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/