Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Add contents in existing precmd
- X-seq: zsh-users 5754
- From: Bruno Bonfils <asyd@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Add contents in existing precmd
- Date: Sun, 19 Jan 2003 15:00:37 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Debian-Fr - http://www.debian-fr.org/
Hi all,
I just want to know how to add some functions in a existing precmd. I
asked on #zsh, someone (sorry I don't remember who) tell me to use
this :
eval "function precmd () {
$functions[precmd]
title $HOST $PWD
}"
but the problem is I have :
% echo $functions[precmd]
...
title laptop /home/asyd
how to prevent $HOST and $PWD will be replace with value ?
Thank you a lot.
--
Bruno Bonfils
http://www.debian-fr.org/ http://www.zshwiki.org/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author