Jason Clinton wrote:
On Thursday 10 February 2005 15:58, Gerald Combs wrote:
Thanks! I have it working for bash and vim under PuTTY. I'll see how it works for xterm/konsole when I get home.
So did it work?
I ended up creating a "en_US.utf8" locale and setting it system-wide, but it works fine. Once again, thanks!
Bonus question:
How do you insert the name of the currently-running foreground process into the xterm title bar using bash? Tcsh has the inappropriately-named "postcmd" alias that runs just before each command is executed. Putting
alias precmd 'echo -n "^[]0;Rufus [$cwd]^G"' alias postcmd 'echo -n "^[]0;Rufus !#:0 [$cwd]^G"'
in my .login will display "Rufus vim [/the/current/directory]" in my title bar when I'm running vim, and "Rufus [/the/current/directory]" at a regular shell prompt, for example. A bit of Googling turned up a couple of message threads that said "use zsh." Thanks. Really helpful.