From 9448ac5dc274ba48865e18c971baa7a128b7d410 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 15 Sep 2023 18:32:28 -0500 Subject: [PATCH] refactor(wezterm): no longer show active pane path in tabbar --- dots/.config/wezterm/config/tabbar.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dots/.config/wezterm/config/tabbar.lua b/dots/.config/wezterm/config/tabbar.lua index e7efe112..36982e7c 100644 --- a/dots/.config/wezterm/config/tabbar.lua +++ b/dots/.config/wezterm/config/tabbar.lua @@ -40,13 +40,7 @@ wezterm.on("format-tab-title", function(tab, tabs, panes, config, hover, max_wid -- Otherwise, use the title from the active pane -- in that tab local active_pane = tab_info.active_pane - ---@type Url - local pane_cwd - pane_cwd = tab_info.active_pane.current_working_dir - if type(pane_cwd) == "userdata" then - pane_cwd = pane_cwd.file_path:gsub(wezterm.home_dir, "~") - end - return string.format("%s %s", active_pane.title, pane_cwd or "") + return active_pane.title end local bg = color_names.kanagawa.sumiInk0