summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2022-12-27 22:12:06 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2022-12-27 22:12:06 +0900
commit4dbe45640a46a67e2c46fcd0f6257e078b6817c1 (patch)
tree6b00d34e133c1b971678b7efc4ed64b1eb51947c
parent4b3f0b9f083ffff69b432b4d01eaab11d2cf58b9 (diff)
downloadfzf-4dbe45640a46a67e2c46fcd0f6257e078b6817c1.tar.gz
Remove $FZF_LISTEN_PORT
It is not worth the added complexity.
-rw-r--r--man/man1/fzf.12
-rw-r--r--src/terminal.go3
2 files changed, 0 insertions, 5 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 2661904e..b6488bdb 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -732,8 +732,6 @@ e.g.
# Send action to the server
curl -XPOST localhost:6266 -d 'reload(seq 100)+change-prompt(hundred> )'
\fR
-
-The port number is exported as \fB$FZF_LISTEN_PORT\fR on the child processes.
.TP
.B "--version"
Display version information and exit
diff --git a/src/terminal.go b/src/terminal.go
index 552daa23..68a099cf 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -2267,9 +2267,6 @@ func (t *Terminal) Loop() {
env = append(env, "FZF_PREVIEW_"+lines)
env = append(env, columns)
env = append(env, "FZF_PREVIEW_"+columns)
- if t.listenPort > 0 {
- env = append(env, fmt.Sprintf("FZF_LISTEN_PORT=%d", t.listenPort))
- }
cmd.Env = env
}