All I want to do is make a simple alias that changes xterm window title to current hostname. Completely easy to do with bash, but I need to do it for csh.
Anything I try, it just echoes the line back with the hostname, doesn't put it in window title. For example:
It's just not escaping. What am I doing wrong?
Anything I try, it just echoes the line back with the hostname, doesn't put it in window title. For example:
Code:
pingy@pit87% alias mytitle 'echo -n ^[]1\;$HOST\^G'
pingy@pit87% mytitle
^[]1;pit87.pair.com^Gpingy@pit87%
It's just not escaping. What am I doing wrong?