rules(ls,eza): typo fixes

This commit is contained in:
iff
2025-05-12 20:40:03 +02:00
parent 1db5bb06d7
commit f33d9624b5
2 changed files with 24 additions and 0 deletions

12
rules/eza.toml Normal file
View File

@@ -0,0 +1,12 @@
command = "eza"
[[match_err]]
pattern = [
"no such file or directory",
"does not exist"
]
suggest = [
'''
{{command[0]}} {{typo[1](file)}} {{opt::(?:\s)(-[\S]+)}}
''',
]

12
rules/ls.toml Normal file
View File

@@ -0,0 +1,12 @@
command = "ls"
[[match_err]]
pattern = [
"no such file or directory",
"does not exist"
]
suggest = [
'''
{{command[0]}} {{typo[1](file)}} {{opt::(?:\s)(-[\S]+)}}
''',
]