| delorie.com/archives/browse.cgi | search |
| From: | "Randy W. Sims" <RandyS AT ThePierianSpring DOT org> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | where to put .bashrc |
| Date: | Wed, 22 Mar 2000 12:54:46 -0500 |
| Organization: | Posted via Supernews, http://www.supernews.com |
| Lines: | 23 |
| Message-ID: | <sdi28f4llul91@news.supernews.com> |
| X-Complaints-To: | newsabuse AT supernews DOT com |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I'm new to DJGpp, and I'm trying to figure out how to setup the environment
to my taste, but I can't figure out where to put .bashrc where it can be
found and run. I'm running under win98. I have a directory "c:\root" where I
have unzipped the v2 DJGpp files. I copied the file
"c:\root\gnu\bash1147\misc\boot.bat" to "c:\root\" and modified it like as
appears below and I run this from an win98 shortcut that sets up the size of
environment etc. This all works correctly (".bashhist" is placed in the
correct place also, so I think the vars are all correct), but it does not
execute ".bashrc" no matter where I put it. I've also tried other approaches
including launching bash without the "-login" switch. TIA - Randy
@echo OFF
set DJGPP=C:\root\djgpp.env
set PATH=C:\root\bin;C:\root\gnu\emacs\bin;C:\root\usr\simsrw\bin;%PATH%
set LFN=y
set HOME=C:\root\usr\simsrw
set SYSROOT=c:\root
set HISTFILE=%HOME%\.bashhist
bash -login
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |