jesseduffield / jesseduffield/lazygit

using -ic instead of -c for command argument

Open
#2,392 10 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

when i try to open a file in lazygit, i got an error:
`bash -c vim: vim cmmand not found`
i think the reason is i dont have vim installed, rather i have nvim and alias vim to nvim.

This becomes an issue when run vim through `bash -c`. as the alias is not correctly expanded.

I woudl suggest to change the option args from `-c` to `-ic` to avoid such issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.