rules(size): non-binary file

This commit is contained in:
iff 2025-04-15 16:47:45 +02:00
parent 68ebf56b50
commit 15790f15e5

11
rules/size.toml Normal file
View file

@ -0,0 +1,11 @@
command = "size"
[[match_err]]
pattern = [
"file format not recognized",
"is a directory",
]
suggest = [
'''
du -h {{command[1:]}} '''
]