locate: wrap glob with quotes (#10495)

pull/23/head
Anton Karmanov 2023-07-19 08:23:10 +03:00 committed by GitHub
parent 9bcde9b006
commit 1d44670284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
- Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`):
`locate */{{filename}}`
`locate '*/{{filename}}'`
- Recompute the database. You need to do it if you want to find recently added files: