summaryrefslogtreecommitdiff
path: root/src/functions.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-10 01:40:56 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-05-18 17:08:36 +0900
commit83b603390683d49ff75b72d142b4dba4b5186d73 (patch)
tree103394f2ffab559d08528ed50a342f80c61d392b /src/functions.go
parent01e7668915c4e3cf8c9eeca283d41beac924fe1f (diff)
downloadfzf-83b603390683d49ff75b72d142b4dba4b5186d73.tar.gz
Add --tmux option to replace fzf-tmux script
Diffstat (limited to 'src/functions.go')
-rw-r--r--src/functions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functions.go b/src/functions.go
index f16371a2..8d29db74 100644
--- a/src/functions.go
+++ b/src/functions.go
@@ -7,7 +7,7 @@ import (
)
func writeTemporaryFile(data []string, printSep string) string {
- f, err := os.CreateTemp("", "fzf-preview-*")
+ f, err := os.CreateTemp("", "fzf-temp-*")
if err != nil {
// Unable to create temporary file
// FIXME: Should we terminate the program?