Skip to content

Commit

Permalink
Fix setup.sh for unpacking and sort files on search
Browse files Browse the repository at this point in the history
  • Loading branch information
elanzini committed Mar 26, 2023
1 parent fd1fc34 commit d34b1a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
wget https://cursor.so/resources.zip
wget https://cursor.so/lsp.zip

unzip resources.zip -d resources/
unzip lsp.zip -d lsp/
unzip resources.zip
unzip lsp.zip

rm ./resources.zip
rm ./lsp.zip
rm ./lsp.zip
2 changes: 1 addition & 1 deletion src/main/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const searchRipGrep = async (
) => {
// Instead run ripgrep fromt the cli
// let cmd = ['rg', '--json', '--line-number', '--with-filename']
let cmd = ['--json', '--line-number', '--with-filename']
let cmd = ['--json', '--line-number', '--with-filename', '--sort-files']
if (arg.caseSensitive) {
cmd.push('--case-sensitive')
} else {
Expand Down

0 comments on commit d34b1a0

Please sign in to comment.