From 9fff448654308b1e1b3d1129c0255544f56c25cc Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 5 Oct 2022 16:33:10 +0100 Subject: initial --- fish/functions/ftnotes.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 fish/functions/ftnotes.fish (limited to 'fish/functions/ftnotes.fish') diff --git a/fish/functions/ftnotes.fish b/fish/functions/ftnotes.fish new file mode 100644 index 0000000..22dd24c --- /dev/null +++ b/fish/functions/ftnotes.fish @@ -0,0 +1,4 @@ +# Defined in /tmp/fish.x1oNhc/ftnotes.fish @ line 2 +function ftnotes --description 'Use find to identify file names in Textnotes directory' --argument pattern + find ~/Nextcloud/Notes/ -type f -iname "*$pattern*" | cut -f6 -d/ +end -- cgit v1.2.3