summaryrefslogtreecommitdiffstats
path: root/fish/functions/modlog.fish
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-05 12:08:56 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-05 12:08:56 +0100
commitcb9a0ae67bfc6a9b19fd024148ff2394758e2ca3 (patch)
tree954464baadbdafa3d423c1386e67ee9070793d12 /fish/functions/modlog.fish
parentdfa9be9ea7d4d2e3b611136fc8be251fbfcf0a83 (diff)
welcome back fish on the x1
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