mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +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",
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
{{typo[0](path)}} {{command[1:]}}
|
||||
'''
|
||||
'''{{typo[0](path)}} {{command[1:]}}'''
|
||||
]
|
||||
|
|
|
|||
|
|
@ -62,6 +62,5 @@ reflog,
|
|||
remote,
|
||||
repack,
|
||||
replace,
|
||||
)}} {{command[2:]}}
|
||||
'''
|
||||
)}} {{command[2:]}}'''
|
||||
]
|
||||
|
|
|
|||
|
|
@ -30,10 +30,8 @@ pattern = [
|
|||
suggest = [
|
||||
'''
|
||||
#[executable(sudo)]
|
||||
sudo {{command}}
|
||||
''',
|
||||
sudo {{command}}''',
|
||||
'''
|
||||
#[executable(doas)]
|
||||
doas {{command}}
|
||||
''',
|
||||
doas {{command}}''',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -3,16 +3,12 @@ command = "rm"
|
|||
[[match_err]]
|
||||
pattern = [ "is a directory", ]
|
||||
suggest = [
|
||||
'''
|
||||
{{command}} --recursive
|
||||
'''
|
||||
'''{{command}} --recursive'''
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
pattern = [ "no such file or directory", ]
|
||||
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