10 ms·
The last tip on naming windows after remote hosts is nice! Now it'd be nice if we could run similar to ssh's LocalCommand on exit too. Turned out that I'm not t
by r080 13y ago
The last tip on naming windows after remote hosts is nice! Now it'd be nice if we could run similar to ssh's LocalCommand on exit too. Turned out that I'm not the first to ask this: http://unix.stackexchange.com/questions/40899/ssh-localcommand-on-exit http://unix.stackexchange.com/questions/40899/ssh-localcomma...
With workaround too.
The downside is that if go like ssh A then ssh B, display doesn't update. But I don't this too often anyway.
- Erwin 13y agoI spent a bit of time trying to figure out why it didn't work for me. Then why I couldn't even do the usual echo -e ... to change my gnome-terminal's title. Turns out I already had a PROMPT_COMMAND set to echo the last command into the title which was overwriting my changes.