some fixes
This commit is contained in:
parent
d3e917fa09
commit
5b162616d2
3 changed files with 8 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue