mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
rules(size): summarize directories
This commit is contained in:
parent
15790f15e5
commit
5a670924f2
1 changed files with 9 additions and 1 deletions
|
|
@ -3,9 +3,17 @@ command = "size"
|
|||
[[match_err]]
|
||||
pattern = [
|
||||
"file format not recognized",
|
||||
"is a directory",
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
du -h {{command[1:]}} '''
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"is a directory",
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
du -hs {{command[1:]}} '''
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue