delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/23/03:09:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <001601c350e9$3e7605b0$200aa8c0@thorin>
From: "Carlo Florendo" <carlo AT astra DOT ph>
To: <cygwin AT cygwin DOT com>
References: <bfit7q$3d1$1 AT main DOT gmane DOT org> <ICEBIHGCEJIPLNMBNCMKOEECCJAA DOT chris AT atomice DOT net> <bflaa4$o6p$1 AT main DOT gmane DOT org>
Subject: Re: problem with history
Date: Wed, 23 Jul 2003 15:08:39 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Sanjay,

> >> my cygwin bash does not write anything in .bash_history .  I think
> >> it was working fine before and some changes done by me has caused it
> >> to stop updating this file.
> >> rxvt does not have this problem.
> >> any pointers where could be the problem.
> > Close bash by typing exit rather than clicking the Close button.
> >
> > Chris
>
> I always do that.
> Sanjay

To enable history logging in bash, you should set your HISTFILE environment variable to the filename where the history is to be
saved.

HISTFILE=<HOME_DIRECTORY>/.bash_history

But bash should do this automatically.

For more details, check the bash man page and look for the string bash_history.

Best Regards,

Carlo
------
Carlo Florendo
Astra Philippines Inc.
URL: www.hq.astra.ph/resources
















--
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/

- Raw text -


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