From 98adcdc503700f2823081d959a0c702e53ac3191 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 11 Nov 2025 14:52:22 -0500 Subject: [PATCH] refactor(plugins): change external terminal provider to ghostty --- lua/plugins/astrocore.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index 8c3ba80..a4470b9 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -26,17 +26,14 @@ return { terminal = { split_side = "right", -- "left" or "right" split_width_percentage = 0.30, - provider = "auto", -- "auto", "snacks", "native", "external", "none", or custom provider table + provider = "external", -- "auto", "snacks", "native", "external", "none", or custom provider table auto_close = true, snacks_win_opts = {}, -- Opts to pass to `Snacks.terminal.open()` - see Floating Window section below -- Provider-specific options provider_opts = { -- Command for external terminal provider. Can be: - -- 1. String with %s placeholder: "alacritty -e %s" (backward compatible) - -- 2. String with two %s placeholders: "alacritty --working-directory %s -e %s" (cwd, command) - -- 3. Function returning command: function(cmd, env) return "alacritty -e " .. cmd end - external_terminal_cmd = nil, + external_terminal_cmd = "ghostty --working-directory %s -e %s", }, }, },