Putty Dynamic Title (with $PWD)
dynamic, putty, title, window
Solution
Setting PS1 did not work for me (putty 0.62).
I'm using bash, and here's what works :
PROMPT_COMMAND='printf "\033]0;%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
Problem
I would like putty terminal to display the current folder. Is this possible ? For example, when i'm in `$HOME`, the putty window title would be `$HOME`. Then, if I do `cd $HOME/foodir`, the title would change to `$HOME/foodir`. Is that possible ? Thanks