This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: .bash_profile


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Halim,

I usually put a sequence like the following in my .bash_profile:
<EXAMPLE>

if [ -f ~/.bashrc ] source ~/.bashrc

</EXAMPLE>
Don't include the pseudo-tags.  Hope that helps.

W. Terry Lincoln
 Senior Solution Developer
  Ciber corporation
          [ WTerryLincoln@engineer.com | lincoln2@rochester.rr.com
]
       Christian Engineering Site      |       Terry Lincoln
Engineers Site
http://www.geocities.com/terry_lincoln |
http://www.angelfire.com/ny/TerryLincoln

- ----- Original Message ----- 
From: "Halim, Salman" <salman@bluestone.com>
To: "'Terry Lincoln '" <lincoln2@rochester.rr.com>
Sent: Wednesday, March 22, 2000 8:25 PM
Subject: RE: .bash_profile


> aha!  thank you.  of course, now it doesn't read my .bashrc
> *sigh*  
> 
> thanks for the tip,
> 
> salman.
> 
> -----Original Message-----
> From: Terry Lincoln
> To: Halim, Salman; cygwin@sourceware.cygnus.com
> Sent: 3/22/00 5:48 PM
> Subject: Re: .bash_profile
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - ----- Original Message ----- 
> From: "Halim, Salman" <salman@bluestone.com>
> To: <cygwin@sourceware.cygnus.com>
> Sent: Wednesday, March 22, 2000 5:25 PM
> Subject: RE: .bash_profile
> 
> 
> > i have home set correctly; it reads my .bashrc file, no
> > problem, just not my .bash_profile
> > 
> 
> You have to start bash as a 'login' shell to have it read
> ~/.bash_profile
> like this:
> % bash --login
> 
> > -- 
> >    =========================================================
> >    Salman Halim                 Email:  salman@bluestone.com
> >    =========================================================
> >    If a  man says something  in a  forest, and there  are no
> >    women around to hear him, is he still wrong?
> > 
> > 
> > > -----Original Message-----
> > > From: John Wiersba [mailto:John.Wiersba@medstat.com]
> > > Sent: Wednesday, March 22, 2000 5:09 PM
> > > To: 'Halim, Salman'; cygwin@sourceware.cygnus.com
> > > Subject: RE: .bash_profile
> > > 
> > > 
> > > Is $HOME set in your cygnus.bat?  See faq.txt ("How can I get
> > >  bash to read
> > > my .bashrc file on startup?")
> > > 
> > > > -----Original Message-----
> > > > From: Halim, Salman [mailto:salman@bluestone.com]
> > > > Sent: Wednesday, March 22, 2000 4:58 PM
> > > > To: cygwin@sourceware.cygnus.com
> > > > Subject: .bash_profile
> > > > 
> > > > 
> > > > hi,
> > > > 
> > > > i'm using the new bash 2.04 release and it doesn't seem to
> > > > be 
> > > >  reading my
> > > > .bash_profile file -- am i doing something wrong?  (i
> > > > didn't  use the file
> > > > until just a few minutes ago so the problem didn't occur 
> > > > until just now!).
> > > > 
> > > > thank you,
> > > > 
> > > > -- 
> > > >   
> > > > ========================================================= 
> > > >    Salman Halim                 Email: 
> > > > salman@bluestone.com 
> > > >   
> > > > ========================================================= 
> > > >    If a  man says something  in a  forest, and there  are
> > > > no 
> > > >    women around to hear him, is he still wrong?
> > > > 
> > > > --
> > > > Want to unsubscribe from this list?
> > > > Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> > > > 
> > > 
> > 
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> > 
> > 
> Regards,
> 
> W. Terry Lincoln
> Senior Solution Developer Ciber corporation
> WTerryLincoln@engineer.com lincoln2@rochester.rr.com
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.2 for non-commercial use
> <http://www.pgp.com> Comment: This message is signed with Pretty
> Good Privacy Key
> 
> iQA/AwUBONlNpGdPbBTG5+8FEQIkiQCeNij5gE+jA39LBLppqKr3Zc4Wbp0AmgL2
> +tSSUETSxpafvqz8r2aLynMg
> =nNvY
> -----END PGP SIGNATURE-----
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>
Comment: This message is signed with Pretty Good Privacy Key

iQA/AwUBONoE52dPbBTG5+8FEQLHIwCgqWvk+BagtUWVSjk92wN31ePMoswAn169
zIdj3CA2KUlYoK/inqp3F2h7
=HWNU
-----END PGP SIGNATURE-----



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]