aboutsummaryrefslogtreecommitdiffstats
path: root/fish/functions/pyfind.fish
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-10-05 16:33:10 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-10-05 16:33:10 +0100
commit9fff448654308b1e1b3d1129c0255544f56c25cc (patch)
treeeda78717611d7a6b2204ba8e9f73af90e69ae90b /fish/functions/pyfind.fish
initial
Diffstat (limited to 'fish/functions/pyfind.fish')
-rw-r--r--fish/functions/pyfind.fish4
1 files changed, 4 insertions, 0 deletions
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