mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-31 23:22:10 +00:00
Add 'root privilege' pattern to sudo rule.
This commit is contained in:
@@ -3,7 +3,8 @@ patterns = ['permission denied',
|
|||||||
'pkg: Insufficient privileges',
|
'pkg: Insufficient privileges',
|
||||||
'you cannot perform this operation unless you are root',
|
'you cannot perform this operation unless you are root',
|
||||||
'non-root users cannot',
|
'non-root users cannot',
|
||||||
'Operation not permitted']
|
'Operation not permitted',
|
||||||
|
'root privilege']
|
||||||
|
|
||||||
|
|
||||||
def match(command, settings):
|
def match(command, settings):
|
||||||
|
|||||||
Reference in New Issue
Block a user