all repos — dot @ b2246e1c3ac8419f3b1c84d557df8e926d451af2

Shell, editor and terminal configuration, and the tools that go with them

nvim: ~/x in the space+p directory picker, where it exists

The picker searched only /Volumes/Sense (or ~/src) and ~/.local/share/nvim,
so nothing under ~/x could ever be offered. It is added behind the same
isdirectory check as the other roots, so a machine without ~/x passes find no
missing path.

From change request cbe283.
Igor Soarez igor@soarez.org
Mon, 12 Oct 2026 16:33:58 +0100
commit

b2246e1c3ac8419f3b1c84d557df8e926d451af2

parent

fdaf6742b0823b088c58ac8e26f6556a0c12c43f

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M config/nvim/lua/plugins/fzf.lua → config/nvim/lua/plugins/fzf.lua

@@ -94,6 +94,7 @@

local function build_find_dir_cmd() local home = vim.fn.expand("~") local homeSrc = vim.fn.expand("~/src") + local xDir = vim.fn.expand("~/x") local sense = "/Volumes/Sense" local cmd = "find" local search_paths = {}

@@ -108,6 +109,9 @@ table.insert(search_paths, sense)

table.insert(excluded_dirs, homeSrc) else table.insert(search_paths, homeSrc) + end + if vim.fn.isdirectory(xDir) == 1 then + table.insert(search_paths, xDir) end table.insert(search_paths, vim.fn.expand("~/.local/share/nvim"))