Auto-select single match in ,z
Pass --select-1 to fzf so ,z skips the picker and jumps straight to
the only candidate when the query narrows to one.

Assisted-by: Claude <noreply@anthropic.com>
change yrmwxlllxummqyqkrpkzlzmkkxmsqott
commit 4ab300a5598ae75219324dd37e310cc51de8bb22
author Alpha Chen <alpha@kejadlen.dev>
date
parent vtrkxsxs
diff --git a/bin/,z b/bin/,z
index 98921566..ed2ae1a7 100755
--- a/bin/,z
+++ b/bin/,z
@@ -7,7 +7,7 @@ fi
 
 main() {
     local dir
-    dir=$(zoxide query -l "$@" | fzf --no-multi --no-margin --no-padding \
+    dir=$(zoxide query -l "$@" | fzf --no-multi --select-1 --no-margin --no-padding \
         --tmux 80%,60% \
         --highlight-line --info inline-right \
         --border-label ' zoxide ' \