Created
September 16, 2025 06:19
-
-
Save 0atman/c5b059979bb2c5af1324166f51bad720 to your computer and use it in GitHub Desktop.
My fleeting capture script, just makes a new file with the defined template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env nu | |
print -n "Fleeting: " | |
let thought = (input) | |
let vault = "/home/oatman/Dropbox/Chamber/" | |
let template = $vault | path join "Resources/Meta/templates/Capture.md" | |
cd $vault | |
open $template | str replace -a "{{VALUE}}" $thought | save ($thought + ".md") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment