mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
Merge pull request #46 from felixonmars/sudo-operation-not-permitted-rule
sudo rule: add support for "Operation not permitted" errors
This commit is contained in:
commit
78171a469d
@ -2,7 +2,8 @@ patterns = ['permission denied',
|
|||||||
'EACCES',
|
'EACCES',
|
||||||
'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']
|
||||||
|
|
||||||
|
|
||||||
def match(command, settings):
|
def match(command, settings):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user