delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/13/12:31:05

From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: _bashrc somewhere else?
Newsgroups: comp.os.msdos.djgpp
References: <3d2f4d48$0$28398$9b622d9e AT news DOT freenet DOT de> <3D2F5A9A DOT 61162235 AT phekda DOT freeserve DOT co DOT uk> <3d2f936f$0$15191$9b622d9e AT news DOT freenet DOT de> <3D2FFC48 DOT 955E90AC AT phekda DOT freeserve DOT co DOT uk>
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha))
Message-ID: <1026566334.729759@queeg.ludd.luth.se>
Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
Date: 13 Jul 2002 13:18:54 GMT
Lines: 13
NNTP-Posting-Date: 13 Jul 2002 13:18:54 GMT
NNTP-Posting-Host: queeg.ludd.luth.se
X-Trace: 1026566334 news.luth.se 465 130.240.16.109
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> wrote:
: I did some testing and bash didn't seem to source ${DJDIR}/etc/profile
: automatically, before sourcing ~/_bashrc. I didn't check that it sources
: /etc/profile, though.

That's probably because it's not a login shell. Try making a copy (or
stubedit one) of bash.exe named -bash.exe and run that instead. (I
think there a command line option as well but don't remember it.)


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019