From 01cb38a5fb11224807452be28122de7066e1a2fa Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 9 Oct 2025 01:05:26 +0900 Subject: Add Unix domain socket support for --listen Close #4541 --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b3a4aa8..91b0450f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -124,6 +124,24 @@ This version includes a few minor updates to fzf's classic visual style: - Markers no longer use background colors. - The `--color base16` theme (alias: `16`) has been updated for better compatibility with both dark and light themes. +### `--listen` now supports Unix domain sockets + +If an argument to `--listen` ends with `.sock`, fzf will listen on a Unix +domain socket at the specified path. + +```sh +fzf --listen /tmp/fzf.sock --no-tmux + +# GET +curl --unix-socket /tmp/fzf.sock http + +# POST +curl --unix-socket /tmp/fzf.sock http -d up +``` + +Note that any existing file at the given path will be removed before creating +the socket, so avoid using an important file path. + ### Added options #### `--gutter CHAR` -- cgit v1.2.3