jesseduffield / jesseduffield/lazygit

Change default terminal for custom commands

Open
#1,550 4 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

Hey, I'm playing with custom commands and can't find docu/config to change the default terminal.

**Describe the solution you'd like**
I would like to change the default terminal path and parameters.

**Describe alternatives you've considered**
Right now we can kind of start powershell from CMD -_-
`pwsh.exe -NoProfile -WindowStyle Hidden -command "& { gps > ps.txt}"` - this does not work

I have found some documentation about `subprocess` in custom commands. Now, I'm running lazy-git in Powershell 7 and WindowsTerminal. It looks like whatever I choose to use subprocess or not I will end in CMD. Although I would expect it to be Powershell 7.

Thanks

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.