summaryrefslogtreecommitdiffstats
path: root/fish/functions/jtoday.fish
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fish/functions/jtoday.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish/functions/jtoday.fish b/fish/functions/jtoday.fish
new file mode 100644
index 0000000..f5a2f7a
--- /dev/null
+++ b/fish/functions/jtoday.fish
@@ -0,0 +1,3 @@
+function jtoday --wraps='vim ~/Notes/journal/$(date +%Y-%m-%d).md' --description 'alias jtoday=vim ~/Notes/journal/$(date +%Y-%m-%d).md'
+ vim ~/Notes/journal/$(date +%Y-%m-%d).md $argv;
+end