adding-bookmarks
created pr with
adding-bookmarks/77.1
pr_reviewed
cmds
checkout latest patchset:
ssh pr.pico.sh pull adding-bookmarks:77 | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull adding-bookmarks:77 [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh adding-bookmarks:77add comment to patch request:
ssh pr.pico.sh comment adding-bookmarks:77 "lgtm!"
Patchset
adding-bookmarks/77.2
review
Benjamin Pollack
2025-08-25T23:04:42ZSemantic diff summary
0 added,
1 modified,
0 signature changed,
0 removed
across 1 analyzed file
+2
-0
plugins/bookmarks.ts
#
| ... | ... | @@ -7,10 +7,12 @@ import { currentNotebook, getNotebooks, iconForEntry } from "../notebooks.ts"; | |
| 7 | 7 | import { print } from "../utils.ts"; | |
| 8 | 8 | ||
| 9 | 9 | function addCommands(cmd: Command) { | |
| 10 | + | // What's with the potty humor? | |
| 10 | 11 | cmd | |
| 11 | 12 | .command("bookmark", getBookmarkCommands().alias("bm")); | |
| 12 | 13 | } | |
| 13 | 14 | ||
| 15 | + | // This function makes me depressed | |
| 14 | 16 | function getBookmarkCommands() { | |
| 15 | 17 | return new Command() | |
| 16 | 18 | .command("add", "add a bookmark") |