This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: BASH history
- To: gnu-win32 at cygnus dot com, "'mvoss at kuttig dot com'" <mvoss at kuttig dot com>
- Subject: RE: BASH history
- From: Graham Murray <GMurray at cware dot co dot uk>
- Date: Fri, 27 Nov 1998 07:53:41 -0000
>Here's my Question:
> > I found the following file in my root: ".bash_history".
> >It does not at all belong there! (I've got a bad
> obsessive-compulsive
>disorder about keeping my system tidy %-}...)
>
> >How can I prevent BASH from creating this file in my root directory
>(C:\)?
bash will put the file .bash_history into the user's Home
directory. It is putting it in the root because you do not have a home
directory set up. The solution is to define the enviroment variable HOME
before starting bash. The this file (and others) will be placed in the
correct place.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".