wouterdebie/i2cssh — Issue #6: how to change profile
Author: nicad
Created: 2012-02-10 16:33:43+00:00
State: open

Here is a simple way to change the profile of spawned windows:

65c65
< @term.sessions[i].write :text => "unset HISTFILE && #{@ssh_prefix} #{server}"
---
> @term.sessions[i].write :text => "unset HISTFILE && echo -e \"\\033]50;SetProfile=Support\\a\" && #{@ssh_prefix} #{server}"

where the profile used is called 'Support'.

I'll try to submit a true patch if I get a chance but I don't know Ruby.