diff --git a/lua/plugins/toggle-term.lua b/lua/plugins/toggle-term.lua index 2a6975e..bf0625d 100644 --- a/lua/plugins/toggle-term.lua +++ b/lua/plugins/toggle-term.lua @@ -10,7 +10,7 @@ return { open_mapping = [[tt]], direction = "float", float_opts = { border = "rounded" }, - shell = vim.fn.exepath("zsh") .. " -l -i", + shell = (os.getenv("SHELL") or vim.fn.exepath("zsh") or vim.fn.exepath("bash")) .. " -l -i", }, config = function(_, opts)