Skip to content

Commit

Permalink
Update init.lua
Browse files Browse the repository at this point in the history
use correct config
  • Loading branch information
desdic authored Jul 15, 2024
1 parent dccf2e0 commit 95462d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/greyjoy/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ greyjoy.to_buffer = function(command)
vim.api.nvim_open_win(bufnr, 1, opts)

local commandstr = table.concat(command.command, " ")
local shell_command = { config['default_shell'], "-c", commandstr }
local shell_command = { greyjoy.default_shell, "-c", commandstr }

vim.fn.jobstart(shell_command, {
stdout_buffered = true,
Expand Down

0 comments on commit 95462d1

Please sign in to comment.