[PATCH] Hiding temporary command from history

Leonard den Ottolander leonard at den.ottolander.nl
Tue Nov 16 16:03:43 UTC 2004


Hi,

Temporary commands that are executed from the user menu end up in the
history. Since HISTIGNORE is already set to ignorespace adding a space
to the temporary command hides it from the history. See attached patch.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hide_tmp_command.patch
Type: text/x-patch
Size: 848 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041116/a94a8828/attachment.bin>


More information about the mc-devel mailing list