(feat): add borders to fzf output.

This commit is contained in:
Eduard Tolosa 2025-06-03 17:02:50 -05:00
parent 32d8ae4073
commit 284bf5334a

View file

@ -1,8 +1,7 @@
function __based_fzf_popup
set -l suggestions (__based)
if test (count $suggestions) -gt 0
# Run fzf and capture exit status
set -l chosen (printf "%s\n" $suggestions | fzf --height 40% --reverse --prompt='Context > ' --query="$prefix" --no-sort --exact)
set -l chosen (printf "%s\n" $suggestions | fzf --height 40% --reverse --prompt='Context > ' --query="$prefix" --no-sort --exact --border)
if test -n "$chosen"
set -l cleaned (string trim -- $chosen)