1
0
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:
nvbn 2016-01-29 12:15:05 +03:00
commit 0b2bda9e85
3 changed files with 6 additions and 3 deletions

View File

@ -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:

View File

@ -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',

View File

@ -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')