From b2127ae3ebaff6f6d9a2977839ba0e562e87f865 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 29 Apr 2025 11:35:41 +0200 Subject: [PATCH] zsh:_conf: Set NULL_GLOB --- .config/zsh/completion/_conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/completion/_conf b/.config/zsh/completion/_conf index e06cc9a..5457530 100644 --- a/.config/zsh/completion/_conf +++ b/.config/zsh/completion/_conf @@ -45,7 +45,7 @@ elif [ -z $w3 ]; then # second word to complete # check if there are any files here # eval "local $(echo $functions[conf] | grep CONF_PATTERNS= | sed -E 's/\$(\{?)1(\}?)/\$\1w1\2/g; s/^[ \t]*//')" # NOTE: requires GLOB_DOTS - local exist=( *(-.) ) 2>/dev/null + local exist=( *(-.N) ) 2>/dev/null # complete (symlinks pointing to) files [ -z "$exist" ] || _values "config:" *(-.)