mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Remove $FZF_LISTEN_PORT
It is not worth the added complexity.
This commit is contained in:
parent
4b3f0b9f08
commit
4dbe45640a
@ -732,8 +732,6 @@ e.g.
|
|||||||
# Send action to the server
|
# Send action to the server
|
||||||
curl -XPOST localhost:6266 -d 'reload(seq 100)+change-prompt(hundred> )'
|
curl -XPOST localhost:6266 -d 'reload(seq 100)+change-prompt(hundred> )'
|
||||||
\fR
|
\fR
|
||||||
|
|
||||||
The port number is exported as \fB$FZF_LISTEN_PORT\fR on the child processes.
|
|
||||||
.TP
|
.TP
|
||||||
.B "--version"
|
.B "--version"
|
||||||
Display version information and exit
|
Display version information and exit
|
||||||
|
@ -2267,9 +2267,6 @@ func (t *Terminal) Loop() {
|
|||||||
env = append(env, "FZF_PREVIEW_"+lines)
|
env = append(env, "FZF_PREVIEW_"+lines)
|
||||||
env = append(env, columns)
|
env = append(env, columns)
|
||||||
env = append(env, "FZF_PREVIEW_"+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
|
cmd.Env = env
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user