Mailinglist Archive: opensuse (2806 mails)

< Previous Next >
Re: [opensuse] Extremely hideous mishandling of history in bash
  • From: Andreas Jaeger <aj@xxxxxxx>
  • Date: Wed, 30 Jul 2008 10:31:04 +0200
  • Message-id: <ho7ib3db93.fsf@xxxxxxxxxxxxx>
Nico Sabbi <Nicola.Sabbi@xxxxxxxx> writes:

Hi,
wandering through countless distributions I'd never seen this most
hideous handling of the bash history: in OpenSuse when you
select a previous command with the up-arrow key, then modify it
in some manner and run it this last command is forgotten.
If you press once again the up-arrow key the command you see is
not the last you ran, but the one before it.
Is there any setting I can use to restore the only sane behaviour?

I'm not sure I follow you (or I have old settings):
$ ls -A
[...]
up-arrow, edit it to use:
$ ls -Af
[...]
$ history |tail
1010 ls -a
1011 ls -af
...

So, this works as expected for me...

Andreas
--
Andreas Jaeger, Director Platform / openSUSE, aj@xxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
< Previous Next >
References