ratpoison-devel
[Top][All Lists]
Advanced

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

[RP] [PATCH] fix bug in command history


From: Bernhard R. Link
Subject: [RP] [PATCH] fix bug in command history
Date: Sun, 31 May 2009 20:53:05 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Attached patch fixes a problem in command history:
In order to store the shell command history in the general ratpoison
history and to avoid forcing the user to remember which prompt some
program was started, the ratpoison history stores shell command lines
also in the general command history prefixed with the command in
question (e.g. exec).

The code in question has the problem that it always adds this when
a shell command is executed and not only when the shell command to
be executed was just entered. Thus an exec from some keybinding also
adds those into the history.

Attached patch should fix this.

Attachment: 0001-only-add-command-to-general-history-if-it-was-entere.patch
Description: Text Data


reply via email to

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