chore: move rules to root

This commit is contained in:
iff 2024-12-08 21:13:22 +01:00
parent 79264e1a4e
commit 0c7277f910
18 changed files with 2 additions and 2 deletions

17
rules/c_typo.toml Normal file
View file

@ -0,0 +1,17 @@
command = "c"
[[match_err]]
pattern = [
"command not found",
"unknown command",
"nu::shell::external_command"
]
suggest = [
'''
#[length(2)]
cd {{command[1:]}} ''',
'''
#[min_length(3)]
cp {{command[1:]}} '''
]