Skip to content

Commit

Permalink
Merge pull request #324 from Rooyca/master
Browse files Browse the repository at this point in the history
update: minimal performance improvement when listing tags
  • Loading branch information
xwmx authored Jun 27, 2024
2 parents 35e615a + 228f444 commit 0d73002
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nb
Original file line number Diff line number Diff line change
Expand Up @@ -16981,14 +16981,12 @@ _search() {
fi

local _grep_arguments=(
"--extended-regexp"
"-P"
"-I"
"--ignore-case"
"--only-matching"
-e '[[:space:]]#[A-Za-z0-9_-]+'
-e '^#[A-Za-z0-9_-]+'
-e '(^|\s)#[A-Za-z0-9_-]+'
)

{
local __target_path=
for __target_path in "${_target_paths[@]:-}"
Expand Down

0 comments on commit 0d73002

Please sign in to comment.