I've got a bashrc script that changes the colour of terminals according
to which machine they are on (or rather are sshing to).

This is great as it warns me visually that^Hif I'm about to shutdown a
customer machine - or blow away the build server.

I'm quite fond of my "ssh to" button though - and would like to have it
call the relevant script rather than the ssh bin directly. (Although the
next stage is to make this into a menu as well).

The current keybinding is:
    kpress(MOD2.."F4", "mod_query.query_ssh(_, ':ssh')"),

I've tried bits of the "run" keybinding and others, but haven't come up
with a real solution yet.

I think I might need to remap the query_ssh command somewhere, but have
no idea where.

Ideas / pointers welcome.

Cheers

John

Reply via email to