lazygit/pkg/commands/oscommands
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
..
cmd_obj.go Remove secureexec package 2023-07-30 19:59:51 +10:00
cmd_obj_builder.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
cmd_obj_runner.go [DATALAD RUNCMD] Do interactive fixing of some ambigous typos 2024-08-27 18:03:00 +02:00
cmd_obj_runner_default.go more refactoring 2022-01-09 14:09:53 +11:00
cmd_obj_runner_test.go Add Token credential request handling 2024-07-06 21:44:10 +10:00
cmd_obj_runner_win.go add deadlock mutex package 2022-08-07 11:16:14 +10:00
cmd_obj_test.go Remove secureexec package 2023-07-30 19:59:51 +10:00
copy.go chore: use errors.New to replace fmt.Errorf with no parameters. 2024-04-24 16:21:34 +08:00
dummies.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
fake_cmd_obj_runner.go Remove secureexec package 2023-07-30 19:59:51 +10:00
gui_io.go Use first class task objects instead of global counter 2023-07-09 21:30:19 +10:00
os.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
os_default_platform.go Use interactive shell for running shell commands only if shell is bash or zsh 2025-01-09 09:29:31 +01:00
os_default_test.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
os_test.go Fix typos 2025-01-03 10:50:36 +11:00
os_windows.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
os_windows_test.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00