mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 05:15:53 +02:00
Docs for EditCommand.
This commit is contained in:
parent
60468d2e17
commit
e7c657fba0
2 changed files with 19 additions and 1 deletions
|
@ -339,7 +339,7 @@ func (c *GitCommand) EditFileCmdStr(filename string) (string, error) {
|
|||
}
|
||||
}
|
||||
if editor == "" {
|
||||
return "", errors.New("No editor defined in $GIT_EDITOR, $VISUAL, $EDITOR, or git config")
|
||||
return "", errors.New("No editor defined in config file, $GIT_EDITOR, $VISUAL, $EDITOR, or git config")
|
||||
}
|
||||
|
||||
return fmt.Sprintf("%s %s", editor, c.OSCommand.Quote(filename)), nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue