In a message dated: Wed, 16 Aug 2000 17:29:25 EDT
Warren Mansur said:
>Hi,
>
>A simple question. Does anyone know offhand how to make bash only
>remember unique commands in your history? For example, if I type:
>
>command1
>command1
>command2
>
>and then I hit the up-arrow, I'll see those three commands in order. I
>was hoping to have it show me "command2" once, and "command1" once, and
>eliminate the duplicate.
You may be able to do something with the HISTFILE variable and assign it
to a command like:
HISTFILE=` uniq $HOME/history/history`
Though I've never tried.
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************