Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: feature idea: customizable string in history file
- X-seq: zsh-users 12695
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "ZSH User List" <zsh-users@xxxxxxxxxx>
- Subject: Re: feature idea: customizable string in history file
- Date: Fri, 7 Mar 2008 16:03:29 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6y/vYBM1zP8Q/+sfgWor/5J04oMayfxJC160qqal1Ag=; b=G5lYSe5LXPNV1dynFYuRGsj+r3oqtGS1dU0rOadwek18RJdRw8QBTTp6Ul0yTTp60SDcnVppmvQ95VJoNPgrlIWgQ+C+yGn8xezBBQVOOVnQUB5li82JXfkY20PbX+mE7wOJ3fktW9Dg6SuIAdD15Lah/kwUCaGhqfGvnmIVLsE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TYltffOVLWzn6jZ4qoM+m5c52PcYkNOLjDQ2nHRUkqzni0ogGgoKOOf4PWzZw09cmBHItvhI0ehbmsLJlnaLs+zCZcjJc2krNCW4igQBjo1E6e9wEkktg9jOVWyJgY7ApWbaYIKm5rloBW4hnto3N8YLKgalA36kOaHsFYVJHVY=
- In-reply-to: <20080307142825.GA23322@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080307142825.GA23322@xxxxxxxxx>
On Fri, Mar 7, 2008 at 3:28 PM, Andy Spiegl <zsh.Andy@xxxxxxxxx> wrote:
> Any idea on how to do that?
You could use a custom precmd or postcmd, but I suggest you
look into alternatives like spyshell and the like. That way, you
can trace what people do in other programs, as well. I could
run
vim someinnoncentfile
:!rm -rf /etc/
and you would never know who did it with your approach.
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author