iterm2-tab-set icon indicating copy to clipboard operation
iterm2-tab-set copied to clipboard

tabset not working when called from expect script

Open nkhambal opened this issue 1 year ago • 0 comments

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.

nkhambal avatar Aug 03 '23 02:08 nkhambal