summaryrefslogtreecommitdiffstats
path: root/fish/functions/tj.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/functions/tj.fish')
-rw-r--r--fish/functions/tj.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/fish/functions/tj.fish b/fish/functions/tj.fish
new file mode 100644
index 0000000..8c1caad
--- /dev/null
+++ b/fish/functions/tj.fish
@@ -0,0 +1,7 @@
+function tj -d "Log to the daily journal - wrapper round _tj script" --argument-names 'message'
+ if test -n "$message"
+ echo "$message" | _tj
+ else
+ echo "Please give me your message, wrapped in quotes."
+ end
+end