iterm2-tab-set
iterm2-tab-set copied to clipboard
tabset not working when called from expect script
I am trying to run tabset from an expect script.My sequence is
- open a new iterm2 tab
- invoke my script to connect to the remote host via ssh
- script tries to run "tabset" commands using "exec" command in expect to set tab parameters
- exec tabset --color green
- exec tabset --title $fhost
- exec tabset --badge $fhost ($fhost is hostname of the remote host stored in variable "fhost")
- next script spawns a session to remote device
However, I don't see the settings of my iterm2 tab changing after running tabset
Am I missing anything? I am using bash shell to invoke the script.
Thanks in advance.