Defina uma variável de ambiente para suas janelas Terminator e chame os aliases de seu .bashrc
. Na configuração do terminador:
[layouts]
[[default]]
[[[child0]]]
order = 0
parent = ""
type = Window
[[[child1]]]
labels = Alias0, Alias1, None
order = 0
parent = child0
type = Notebook
[[[terminal1]]]
order = 0
parent = alias0
profile = root
type = Terminal
[[[terminal2]]]
order = 1
parent = child1
profile = alias1
type = Terminal
[[[terminal3]]]
order = 2
parent = child1
profile = default
type = Terminal
[profiles]
[[alias0]]
custom_command = MY_ALIAS=0 bash
use_custom_command = True
[[alias1]]
custom_command = MY_ALIAS=1 bash
use_custom_command = True
E em .bashrc
:
case $MYALIAS in
0) alias0
;;
1) alias1
;;
*)
;;
esac