diff options
author | Matthew Lemon <lemon@x220.lan> | 2020-09-06 16:48:05 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@x220.lan> | 2020-09-06 16:48:05 +0100 |
commit | e4640e28c8449eea66392052bfab57ce0cdd27f9 (patch) | |
tree | 2be81b55bc37da60599f4e6d434e74a57694962e /fish/functions/ftnotes.fish |
first commit
Diffstat (limited to 'fish/functions/ftnotes.fish')
-rw-r--r-- | fish/functions/ftnotes.fish | 4 |
1 files changed, 4 insertions, 0 deletions
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 |