Embed man page in the binary and show it on 'fzf --man'

This commit is contained in:
Junegunn Choi committed 2024-05-21 01:06:10 +09:00
1 parent 7b0c9e04d3
commit 076b3d0a9a
7 files changed
+40 -5

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ func runProxy(commandPrefix string, cmdBuilder func(temp string) *exec.Cmd, opts
exports[idx] = fmt.Sprintf("export %s=%s", pair[0], escapeSingleQuote(pair[1]))
}
}
temp := writeTemporaryFile(append(exports, command), "\n")
temp := WriteTemporaryFile(append(exports, command), "\n")
defer os.Remove(temp)
cmd := cmdBuilder(temp)