adding-bookmarks
created pr with
77.1
pr_reviewed
cmds
checkout latest patchset:
ssh pr.pico.sh print 77 | git am -3checkout any patchset in a patch request:
ssh pr.pico.sh print 77.[rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 77
+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") |