diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-09-05 14:14:34 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-09-05 14:14:34 +0100 |
commit | 5f504660a8e7478fac3f5b14e8661399154b119c (patch) | |
tree | fd879e1617af74d644ef314a79d8df7dbd74b71c /fish/functions/tj.fish | |
parent | 7a77faf913cd9e51d520705de3e78d73b09b43a1 (diff) | |
parent | b1e86fd7e719ff243535751cf8bc3c75f8531f29 (diff) |
Merge branch 'master' of github.com:yulqen/openbsddotfiles
Diffstat (limited to '')
-rw-r--r-- | fish/functions/tj.fish | 7 |
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 |