add wezterm connect DOMAIN subcommand for connecting to muxer

This makes it a bit more convenient to control when and which
multiplexer(s) you want to connect to.

Now that each domain must have a name in the configuration file,
we can address them more conveniently from the command line.
This commit is contained in:
Wez Furlong committed 2019-08-05 11:39:05 -07:00
1 parent f9137c0eec
commit 0fed030dac
2 files changed
+99 -1

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ pub enum ClientDomainConfig {
}
impl ClientDomainConfig {
fn name(&self) -> &str {
pub fn name(&self) -> &str {
match self {
ClientDomainConfig::Unix(unix) => &unix.name,
ClientDomainConfig::Tls(tls) => &tls.name,