Sorry for the OT post, but this was the best place I could think of
that would have some terminal gurus.

I use my Mac and BBEdit primarily for embedded and linux programming.
As such, I spend much of my time in terminal, sshed into various
machines.  As I'm sshed into many different machines at once, I
typically use different terminal settings (via the inspector) to color
the background in order to keep my windows visually distinct.  It's
painful to open up several windows (sometimes I have 6 or more open
per machine) and change the profile via inspector for each one.

So the question: does anyone know a way to automatically have terminal
switch to a different profile?

Ideally, I'd love it to automatically notice from the command-line I
enter.  For example, if I enter
`ssh foxtrot.local`
it switches to "profile 1"
and if I enter
`ssh marvin.local`
it switches to "profile 2"

Is there a way to tell terminal on the command-line to switch?

I'd be willing to setup aliases that run a command-line program to do
it for me if that's necessary (though prefered is the auto-sniff of my
command-line).
alias ssh-marvin= switch-profile 1; ssh marvin.local

Does anyone have any ideas about this?

Thanks,
- Steve

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to