lazygit/pkg/commands
Stefan Haller dbd407c01d Use interactive shell for running shell commands only if shell is bash or zsh
We use an interactive shell so that users can use their custom shell aliases in
lazygit's shell prompt, which is convenient; however, this only really works for
shells like bash or zsh. We know it doesn't work for fish or nushell (because
these use different names for the $? variable); so use an interactive shell only
if the user's shell is either bash or zsh.
2025-01-09 09:29:31 +01:00
..
git_commands Combine GetPathDiff and GetAllDiff into one command (GetDiff) 2025-01-07 17:46:51 +01:00
git_config Use print instead of printf when there are no arguments 2024-08-27 10:33:06 +02:00
hosting_service Allow on prem Azure DevOps Server pull request 2025-01-02 15:10:02 +11:00
models Add user config gui.showNumstatInFilesView 2024-12-08 12:09:47 +01:00
oscommands Use interactive shell for running shell commands only if shell is bash or zsh 2025-01-09 09:29:31 +01:00
patch Adjust line number for working copy when editing a line 2025-01-07 17:46:51 +01:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
types/enums Show mode-specific keybinding suggestions 2024-01-28 08:33:13 +11:00
git.go Add ahead/behind information for @{push} 2024-05-19 09:44:38 +02:00
git_cmd_obj_builder.go Use an interactive shell for running custom commands 2024-08-17 10:32:18 +02:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00