mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 10:11:14 +00:00
Merge branch 'master' into simplify-shells
This commit is contained in:
commit
0b2bda9e85
@ -17,8 +17,9 @@ addons:
|
||||
- pandoc
|
||||
- git
|
||||
install:
|
||||
- pip install coveralls
|
||||
- pip install -r requirements.txt
|
||||
- pip install -U pip
|
||||
- pip install -U coveralls
|
||||
- pip install -Ur requirements.txt
|
||||
- python setup.py develop
|
||||
- rm -rf build
|
||||
script:
|
||||
|
@ -14,6 +14,7 @@ patterns = ['permission denied',
|
||||
'must be root',
|
||||
'need to be root',
|
||||
'need root',
|
||||
'needs to be run as root',
|
||||
'only root can ',
|
||||
'You don\'t have access to the history DB.',
|
||||
'authentication is required',
|
||||
|
@ -65,4 +65,5 @@ class Fish(Generic):
|
||||
return u'; and '.join(commands)
|
||||
|
||||
def how_to_configure(self):
|
||||
return 'eval thefuck --alias', '~/.config/fish/config.fish'
|
||||
return (r"eval (thefuck --alias | tr '\n' ';')",
|
||||
'~/.config/fish/config.fish')
|
||||
|
Loading…
x
Reference in New Issue
Block a user