mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Add config os.shellFunctionsFile
This commit is contained in:
@ -71,11 +71,11 @@ func (self *FilesHelper) OpenDirInEditor(path string) error {
|
||||
func (self *FilesHelper) callEditor(cmdStr string, suspend bool) error {
|
||||
if suspend {
|
||||
return self.c.RunSubprocessAndRefresh(
|
||||
self.c.OS().Cmd.NewShell(cmdStr),
|
||||
self.c.OS().Cmd.NewShell(cmdStr, self.c.UserConfig().OS.ShellFunctionsFile),
|
||||
)
|
||||
}
|
||||
|
||||
return self.c.OS().Cmd.NewShell(cmdStr).Run()
|
||||
return self.c.OS().Cmd.NewShell(cmdStr, self.c.UserConfig().OS.ShellFunctionsFile).Run()
|
||||
}
|
||||
|
||||
func (self *FilesHelper) OpenFile(filename string) error {
|
||||
|
Reference in New Issue
Block a user