Skip to content

using -ic instead of -c for command argument  #2392

@shelper

Description

@shelper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions