From 076b3d0a9af7e69c8e5232d49cfeeadcfd45e9ef Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 20 May 2024 19:33:46 +0900 Subject: Embed man page in the binary and show it on 'fzf --man' --- src/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proxy.go') diff --git a/src/proxy.go b/src/proxy.go index bbac0292..a1e8f805 100644 --- a/src/proxy.go +++ b/src/proxy.go @@ -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) -- cgit v1.2.3