terminus-sync-config icon indicating copy to clipboard operation
terminus-sync-config copied to clipboard

Auto Sync after change or add SSH connections

Open sonphung90 opened this issue 3 years ago • 2 comments

The plugin is very helpful, is it possible to add Auto Sync after change SSH connection?

sonphung90 avatar Jul 04 '21 07:07 sonphung90

Tabby hasn't such API.

starxg avatar Jul 07 '21 08:07 starxg

It seems that you can subscribe to the changed event subject of config.

https://github.com/Eugeny/tabby/blob/21e5d689947a000e3678a3700d799cab2385e75a/tabby-core/src/services/config.service.ts#L133

https://github.com/Eugeny/tabby/blob/21e5d689947a000e3678a3700d799cab2385e75a/tabby-core/src/services/config.service.ts#L274

xinyii avatar Jan 12 '22 11:01 xinyii