* functions borked after a certain time
@ 2003-10-21 20:50 xavier
0 siblings, 0 replies; only message in thread
From: xavier @ 2003-10-21 20:50 UTC (permalink / raw)
To: zsh-users
Hello,
I use zsh 4.0.7 (i686-pc-linux-gnu)
with functions like this :
if [ "$TERM" = "xterm" ]; then
setTitleAndIcon () { print -nP '%{\e]2;'$1'\a\e]1;'$2'\a%}' }
preexec () { setTitleAndIcon $1 ${1%% *} }
precmd () { setTitleAndIcon %n@%m %m }
fi
after some time, the function is all borked :
$ functions setTitleAndIcon
setTitleAndIcon () {
itleAndIcon -nP dIcon
}
$ functions precmd
precmd () {
% *} itleAndIcon %m
}
so each time i call anything, it tries to execute some non-sense code...
all my old shell in my old terms behave the same, they share
the very same borked functions.
i did not upgrade zsh since thoses zsh started.
any clues ?
thanks
--
xavier
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-21 20:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-21 20:50 functions borked after a certain time xavier
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).