m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Add environment variables: FZF_{BORDER,PREVIEW}_LABEL (#3693)

The environment variable get the value of the preview label, even if it
has been updated with an action. It can be useful to track the label of
the preview and be able to switch between previews using only one
binding.

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
This commit is contained in:
Matthieu Cneude
2024-03-29 08:14:08 +01:00
committed by GitHub
parent 8a74976c1f
commit f625c5aabe
4 changed files with 44 additions and 2 deletions

View File

@@ -975,6 +975,10 @@ fzf exports the following environment variables to its child processes.
.br
.BR FZF_PROMPT " Prompt string"
.br
.BR FZF_PREVIEW_LABEL " Preview label string"
.br
.BR FZF_BORDER_LABEL " Border label string"
.br
.BR FZF_ACTION " The name of the last action performed"
.br
.BR FZF_PORT " Port number when --listen option is used"