bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feature: Easily remove current command from history


From: porton
Subject: Feature: Easily remove current command from history
Date: Mon, 04 Jan 2016 20:30:49 +0200

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.././lib  -D_FORTIFY_SOURCE=2 -g 
-O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall
uname output: Linux victor.local 4.1.0-2-686-pae #1 SMP Debian 4.1.6-1 
(2015-08-23) i686 GNU/Linux
Machine Type: i586-pc-linux-gnu

Bash Version: 4.3
Patch Level: 42
Release Status: release

Description:

There should be an easy way to remove the currently selected command
from the history.

Fix:

I propose to add new readline command which when it is invoked removed the
current shell command from the history and moves to either the next or the
previous command (not sure whether next of previous).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]