mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
toggle term shell to handle both zsh and bash
This commit is contained in:
parent
7b04948d5e
commit
14ee499552
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ return {
|
|||
open_mapping = [[<leader>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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue