summaryrefslogtreecommitdiffstats
path: root/fish/functions/modlog.fish
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-05 14:14:34 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-05 14:14:34 +0100
commit5f504660a8e7478fac3f5b14e8661399154b119c (patch)
treefd879e1617af74d644ef314a79d8df7dbd74b71c /fish/functions/modlog.fish
parent7a77faf913cd9e51d520705de3e78d73b09b43a1 (diff)
parentb1e86fd7e719ff243535751cf8bc3c75f8531f29 (diff)
Merge branch 'master' of github.com:yulqen/openbsddotfiles
Diffstat (limited to 'fish/functions/modlog.fish')
-rw-r--r--fish/functions/modlog.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish/functions/modlog.fish b/fish/functions/modlog.fish
new file mode 100644
index 0000000..25460a2
--- /dev/null
+++ b/fish/functions/modlog.fish
@@ -0,0 +1,3 @@
+function modlog --wraps='grep -R :MOD /home/lemon/Notes/journal| sort -r|cut -d/ -f6-' --description 'alias modlog=grep -R :MOD /home/lemon/Notes/journal| sort -r|cut -d/ -f6-'
+ grep -R :MOD /home/lemon/Notes/journal| sort -r|cut -d/ -f6- $argv;
+end