jesseduffield / jesseduffield/lazygit

Allow customize Shell & ShellArg in config.yml

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

Description

**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](https://github.com/user-attachments/assets/a7a532b8-f0f4-4213-a3dc-15cf3fa0b68c)

**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

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.