mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Make bmarks ignore -b
This commit is contained in:
parent
a0bdc2debc
commit
c7685fd3ae
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ export class BmarkCompletionSource extends Completions.CompletionSourceFuse {
|
|||
option += " "
|
||||
query = args.slice(2).join(" ")
|
||||
}
|
||||
if (query.startsWith("-b")) {
|
||||
const args = query.split(" ")
|
||||
option += args.slice(0, 1).join(" ") + " "
|
||||
query = args.slice(1).join(" ")
|
||||
}
|
||||
|
||||
this.completion = undefined
|
||||
this.options = (await providers.getBookmarks(query))
|
||||
|
|
Loading…
Add table
Reference in a new issue