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:
1 parent
f9137c0eec
commit
0fed030dac
2 files changed
+99
-1
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user