From 57676f161f3e3f35f8a1b61bd1f5fcc644b478d5 Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Wed, 10 Apr 2024 17:00:04 +0200 Subject: [PATCH] fix(swap-layouts): properly identify plugin aliases with initial cwd (#3250) * fix(swap-layouts): properly identify plugin aliases with initial cwd * style(fmt): rustfmt --- zellij-utils/src/input/layout.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index cef7cebf..f51ddd92 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -435,9 +435,7 @@ pub struct PluginAlias { impl PartialEq for PluginAlias { fn eq(&self, other: &Self) -> bool { - self.name == other.name - && self.configuration == other.configuration - && self.initial_cwd == other.initial_cwd + self.name == other.name && self.configuration == other.configuration } }