Ar an t-ochtú lá de mí na Nollaig, scríobh Aidan Kehoe:
> I'm really trying to do this under Cygwin, but if someone
has ideas
> concerning xterm, it might help too. I want zsh to change the title bar
> of the window it's in whenever it runs a command.
Hmm, on closer examination preexec() is probably the function you want to
change.
precmd () {
echo -n \\033\]2\;$USER@$HOST:$_\\07;
}
works for XTerm and PuTTY.
--
I AM IN JAIL AND ALLOWED SEND ONLY ONE CABLE SINCE WAS ARRESTED WHILE
MEASURING FIFTEEN FOOT WALL OUTSIDE PALACE AND HAVE JUST FINISHED COUNTING
THIRTY EIGHT THOUSAND FIVE HUNDERED TWENTY TWO NAMES WHOS WHO IN MIDEAST.
--
I AM IN JAIL AND ALLOWED SEND ONLY ONE CABLE SINCE WAS ARRESTED WHILE
MEASURING FIFTEEN FOOT WALL OUTSIDE PALACE AND HAVE JUST FINISHED COUNTING
THIRTY EIGHT THOUSAND FIVE HUNDERED TWENTY TWO NAMES WHOS WHO IN MIDEAST.