Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Add contents in existing precmd



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