|
@@ -117,7 +117,7 @@ M.init = function()
|
|
|
term_opts.size = term_opts.size or lvim.builtin.terminal.terminals_defaults[term_opts.direction .. "_size"]
|
|
|
-- size is calculated dynamically as a percentage of the current buffer
|
|
|
term_opts.size = get_dynamic_terminal_size(term_opts.direction, term_opts.size)
|
|
|
- term_opts.cmd = term_opts.cmd or lvim.builtin.terminal.shell
|
|
|
+ term_opts.cmd = term_opts.cmd or lvim.builtin.terminal.shell or vim.o.shell
|
|
|
-- desc is used for the keymap description
|
|
|
term_opts.desc = term_opts.desc
|
|
|
if term_opts.desc == nil then
|