Fix searching including hashtags
This commit is contained in:
parent
7e5afc2193
commit
f72f97e6cd
1 changed files with 1 additions and 1 deletions
2
zet
2
zet
|
@ -206,7 +206,7 @@ search_zettel() {
|
|||
|
||||
QUERY="$*"
|
||||
|
||||
git grep -i --name-only -P "\b$QUERY\b" | grep -o -E '[0-9]+' | sort -un
|
||||
git grep -i --name-only --word-regex "$QUERY" | grep -o -E '[0-9]+' | sort -un
|
||||
}
|
||||
|
||||
select_zet() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue