mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
refactor: underscoring preserved command names
This commit is contained in:
parent
eb66bc2c24
commit
e1586db6af
3 changed files with 4 additions and 4 deletions
|
|
@ -1,38 +0,0 @@
|
|||
command = "privilege"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"as root",
|
||||
"authentication is required",
|
||||
"be root",
|
||||
"be superuser",
|
||||
"cannot access",
|
||||
"eacces",
|
||||
"edspermissionerror",
|
||||
"error: insufficient privileges",
|
||||
"insufficient privileges",
|
||||
"need root",
|
||||
"non-root users cannot",
|
||||
"not super-user",
|
||||
"only root can",
|
||||
"operation not permitted",
|
||||
"permission denied",
|
||||
"requires root",
|
||||
"root privilege",
|
||||
"root user",
|
||||
"sudorequirederror",
|
||||
"superuser privilege",
|
||||
"unless you are root",
|
||||
"updatedb: can not open a temporary file",
|
||||
"use `sudo`",
|
||||
"you don't have access to the history db.",
|
||||
"you don't have write permissions"
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
#[executable(sudo)]
|
||||
sudo {{command}} ''',
|
||||
'''
|
||||
#[executable(doas)]
|
||||
doas {{command}} '''
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue