Skip to content

Allow customize Shell & ShellArg in config.yml #3749

@yam-liu

Description

@yam-liu

Is your feature request related to a problem? Please describe.
I have tons of aliases but cannot use them directly in Lazygit because bash is the default shell.
I use zsh.
I found some solutions like zsh -ic, but I need to prefix it every time, it is so inconvenient.
CleanShot 2024-07-15 at 13 35 25@2x

Describe the solution you'd like
Support customization in config.yml like:

os:
  shell: "",
  shellArg: "",

Describe alternatives you've considered
Detect user shell and support alias. I found a closed PR, but didn't dig into it, maybe there are some bugs in that implementation?

Additional context
None

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