-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues related with terminal setting. #133
Comments
I'm having the same issue with |
This is my current workaround: use({
'kdheepak/lazygit.nvim',
requires = {
'nvim-lua/plenary.nvim',
},
config = function()
if SystemOS == "Windows" then -- SystemOS is a dynamic var set in init.lua
vim.schedule(function()
vim.api.nvim_create_user_command(
"LazyGit",
function()
local current = vim.opt.shell
vim.opt.shell='cmd'
require'lazygit'.lazygit()
vim.opt.shell=current
end,
{ force = true }
)
end)
end
end
}) |
This is mine.
I have no idea.... |
I was having the same issue with powershell, found the below solution and it works fine :)
for more details check this link (https://github.com/akinsho/toggleterm.nvim/wiki/Tips-and-Tricks#using-toggleterm-with-powershelll) |
I have a similar error when using JP Software's TCC shell. I set it in my But then when I use the
If I simply stick with the CMD shell, the floating lazygit window appears as it should. I can easily run lazygit from the command line in TCC as well without any issues. None of the workarounds posted so far seem to help. |
Description
To Reproduce
I use "Lazy" package manager.
I initialized as follows:
Expected behavior
What is expected to happen:
Screenshots
Desktop (please complete the following information):
If I unset
vim.opt.shell
, it works well.I think, lazygit.nvim seems to use termianl related with
vim.opt.shell
.Thus, I tried to use 'git-bash.'
I want to set terminal emulator as git-bash. How can I solve it?
The text was updated successfully, but these errors were encountered: