mirror of
https://github.com/edu4rdshl/based.fish.git
synced 2026-07-17 23:24:46 +00:00
(feat): add borders to fzf output.
This commit is contained in:
parent
32d8ae4073
commit
284bf5334a
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue