zsh-users
 help / color / mirror / code / Atom feed
* Makeing history harmless
@ 2006-10-12  2:47 Meino Christian Cramer
  2006-10-12  5:09 ` Phil Pennock
  0 siblings, 1 reply; 4+ messages in thread
From: Meino Christian Cramer @ 2006-10-12  2:47 UTC (permalink / raw)
  To: zsh-users

Hi,

 there are several kind of commands -- mainly things like "rm" --
 which may be harmless only in a certain context.

 The history function of zsh remembers the command but not the
 contents.

 Therefore one may look up (for example via ^R) the history and gives
 a "go" to a command, which he _really_ does not want by accident.

 Is it possible to write a "something" to filter out certain commands 
 or to modify certain commands before they were copied from the
 commandline into the history ?

 Kind regards and keep hacking!
 mcc


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-10-13  9:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12  2:47 Makeing history harmless Meino Christian Cramer
2006-10-12  5:09 ` Phil Pennock
2006-10-12 13:15   ` Chris Johnson
2006-10-13  9:16     ` Phil Pennock

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).