Skip to content

Commit ce71fd1

Browse files
committed
error description
1 parent 9514c22 commit ce71fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ func cmdEdit(c *cli.Context) error {
371371
cmd.Stdin = strings.NewReader(strings.Join(files, "\n"))
372372
b, err := cmd.CombinedOutput()
373373
if err != nil {
374-
return fmt.Errorf("you need to install peco first: https://github.com/peco/peco")
374+
return fmt.Errorf("cannot run %q: you need to install peco first: https://github.com/peco/peco", cfg.SelectCmd)
375375
}
376376
files = strings.Split(strings.TrimSpace(string(b)), "\n")
377377
for i, file := range files {

0 commit comments

Comments
 (0)