Skip to content

Commit

Permalink
Use zed when creating new note or post
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed Sep 14, 2023
1 parent f013060 commit d9bc186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/new-note
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ await Deno.writeTextFile(fullPath, TEMPLATE, {
console.log(`Created ${fullPath}`);

const editor = Deno.run({
cmd: ['subl', fullPath],
cmd: ['zed', fullPath],
stdout: 'piped',
stderr: 'piped',
});
Expand Down
2 changes: 1 addition & 1 deletion script/new-post
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ await Deno.writeTextFile(fullPath, TEMPLATE, {
console.log(`Created ${fullPath}`);

const editor = Deno.run({
cmd: ['subl', fullPath],
cmd: ['zed', fullPath],
stdout: 'piped',
stderr: 'piped',
});
Expand Down

0 comments on commit d9bc186

Please sign in to comment.