mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 15:45:11 +01:00
fix: extra newline
This commit is contained in:
parent
295ab1e76d
commit
80b1fb51ee
4 changed files with 6 additions and 15 deletions
|
|
@ -7,7 +7,5 @@ pattern = [
|
||||||
"nu::shell::external_command",
|
"nu::shell::external_command",
|
||||||
]
|
]
|
||||||
suggest = [
|
suggest = [
|
||||||
'''
|
'''{{typo[0](path)}} {{command[1:]}}'''
|
||||||
{{typo[0](path)}} {{command[1:]}}
|
|
||||||
'''
|
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,5 @@ reflog,
|
||||||
remote,
|
remote,
|
||||||
repack,
|
repack,
|
||||||
replace,
|
replace,
|
||||||
)}} {{command[2:]}}
|
)}} {{command[2:]}}'''
|
||||||
'''
|
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -30,10 +30,8 @@ pattern = [
|
||||||
suggest = [
|
suggest = [
|
||||||
'''
|
'''
|
||||||
#[executable(sudo)]
|
#[executable(sudo)]
|
||||||
sudo {{command}}
|
sudo {{command}}''',
|
||||||
''',
|
|
||||||
'''
|
'''
|
||||||
#[executable(doas)]
|
#[executable(doas)]
|
||||||
doas {{command}}
|
doas {{command}}''',
|
||||||
''',
|
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -3,16 +3,12 @@ command = "rm"
|
||||||
[[match_err]]
|
[[match_err]]
|
||||||
pattern = [ "is a directory", ]
|
pattern = [ "is a directory", ]
|
||||||
suggest = [
|
suggest = [
|
||||||
'''
|
'''{{command}} --recursive'''
|
||||||
{{command}} --recursive
|
|
||||||
'''
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[match_err]]
|
[[match_err]]
|
||||||
pattern = [ "no such file or directory", ]
|
pattern = [ "no such file or directory", ]
|
||||||
suggest = [
|
suggest = [
|
||||||
'''
|
'''{{command[0}} {{opt::(?:\s)-[\w]+}} {{typo[-1](file)}}'''
|
||||||
{{command[0}} {{opt::(?:\s)-[\w]+}} {{typo[-1](file)}}
|
|
||||||
'''
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue