some fixes

This commit is contained in:
Never Gude 2026-03-19 18:55:59 +01:00
parent d3e917fa09
commit 5b162616d2
3 changed files with 8 additions and 13 deletions

View file

@ -11,8 +11,8 @@ set names (string split --fields 2 ' ' $engines)
set urls (string split --fields 3 ' ' $engines)
function search
set input (prompt --prompt="$names[$argv[1]] " --mesg=(string join ', ' $bindings) || exit)
set input (string join -- ' ' (prompt --prompt="$names[$argv[1]] " --mesg=(string join ', ' $bindings) || exit))
echo $input[1]
if contains $input $bindings
search (contains -i $input $bindings)
exit