chore: rearrange directories

This commit is contained in:
iff 2024-12-08 16:52:53 +01:00
parent d5fb7462e0
commit 4c9aac45a8
46 changed files with 11 additions and 18 deletions

19
core/rules/cat.toml Normal file
View file

@ -0,0 +1,19 @@
command = "cat"
[[match_err]]
pattern = [
"no such file or directory"
]
suggest = [
'''
cat {{typo[1](file)}} '''
]
[[match_err]]
pattern = [
"is a directory"
]
suggest = [
'''
ls {{command[1:]}}'''
]