fixed a lot of stuff

This commit is contained in:
Honney committed 2026-06-23 00:23:16 +02:00
1 parent 74f4b9b1be
commit 6591f6b020
24 files changed
+626 -455

No files matched your search

+9 -3
View File
@@ -3,8 +3,14 @@ function findstr
echo "Usage: findstr <search-string>"
return 1
end
if not command -q find
echo "findstr: 'find' is not installed."
return 1
end
if not command -q grep
echo "findstr: 'grep' is not installed."
return 1
end
set query $argv[1]
find . -type f -exec grep -Hn "$query" {} \;
find . -type f -exec grep -Hn "$argv[1]" {} \;
end