mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-14 17:46:26 -04:00
escape editor path
This commit is contained in:
parent
80377e4716
commit
aea4661be5
|
|
@ -326,7 +326,7 @@ func (c *OSCommand) GetLazygitPath() string {
|
|||
if err != nil {
|
||||
ex = os.Args[0] // fallback to the first call argument if needed
|
||||
}
|
||||
return filepath.ToSlash(ex)
|
||||
return `"` + filepath.ToSlash(ex) + `"`
|
||||
}
|
||||
|
||||
// RunCustomCommand returns the pointer to a custom command
|
||||
|
|
|
|||
Loading…
Reference in a new issue