summaryrefslogtreecommitdiff
path: root/newnote
diff options
context:
space:
mode:
Diffstat (limited to 'newnote')
-rwxr-xr-xnewnote2
1 files changed, 1 insertions, 1 deletions
diff --git a/newnote b/newnote
index ddf5c1b..da68221 100755
--- a/newnote
+++ b/newnote
@@ -1,6 +1,6 @@
#!/bin/sh
-dir="$HOME/.obsidian"
+dir="$OBSIDIAN_HOME"
newnote() {
file="$dir/$1.md"