1 parent 1989ea3 commit 0e388e7Copy full SHA for 0e388e7
1 file changed
deslop.ps1
@@ -6,6 +6,8 @@ Opens the most recently changed markdown "#ai-slop"
6
$script:ErrorActionPreference = "Stop"
7
Set-StrictMode -Version Latest
8
9
+throw "TODO not sure about deslop.ps1, but not a good use of time to just work on the latest one!"
10
+
11
$notes = Join-Path (Get-Bin) apps/*.md
12
$aiSlop = Get-ChildItem $notes |
13
Where-Object { Select-String '#ai-slop' $_ } |
@@ -14,6 +16,7 @@ $aiSlop = Get-ChildItem $notes |
14
16
15
17
if ($aiSlop) {
18
"Opening $aiSlop -- remove #ai-slop"
19
+ throw "TODO use obsidian CLI to open"
20
open $aiSlop
21
} else {
22
echo "No slop to be found!"
0 commit comments