From: Petr M. <mi...@ph...> - 2007-06-06 21:36:57
|
> OK, I think you will like this new patch (#1729825). Type > > help history > help set history Yes, it works. > Here is something really neat, and nothing kludge-like about it from the > perspective of readline. When "set history condensed" is active, the up/down > arrows will now also scan through only unique history entries, like you want > Petr. Here is the elegant way to do it. Simply write a routine like Please add the to skip duplicated entries with the up-arrow. It does not make sense to press up so many times, even though many same lines are in history, does it? BTW, bash does not store duplicated entries (try several times to type "ls" and then "history"). Do you need it for gnuplot becase of possible k=k+1 commands? --- PM |