From e4640e28c8449eea66392052bfab57ce0cdd27f9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 6 Sep 2020 16:48:05 +0100 Subject: first commit --- fish/functions/pyfind.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 fish/functions/pyfind.fish (limited to 'fish/functions/pyfind.fish') diff --git a/fish/functions/pyfind.fish b/fish/functions/pyfind.fish new file mode 100644 index 0000000..e82d716 --- /dev/null +++ b/fish/functions/pyfind.fish @@ -0,0 +1,4 @@ +# Defined in /tmp/fish.e6R9oj/pyfind.fish @ line 2 +function pyfind --description 'Find string in Python files from this root' + find -name "*.py"|xargs grep $argv +end -- cgit v1.2.3