From 2ce1c6bf90b5c1718298aa501d13a15fe4e60b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Sun, 24 Jan 2016 14:38:13 +0100 Subject: [PATCH 1/3] new pattern in sudo rule `pacman-key --refresh-keys` outputs the following when not run as root ``` ==> ERROR: pacman-key needs to be run as root for this operation. ``` --- thefuck/rules/sudo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 3211acfa..7333a274 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -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', From dcc0ce7ff3b6ea6572e90dc3b5b41ef6586fe5e6 Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Thu, 28 Jan 2016 20:44:35 -0200 Subject: [PATCH 2/3] #449 Fix Fish.how_to_configure() Fix #449 --- thefuck/shells.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thefuck/shells.py b/thefuck/shells.py index d14a2d77..e4f44038 100644 --- a/thefuck/shells.py +++ b/thefuck/shells.py @@ -199,7 +199,8 @@ 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') class Zsh(Generic): From 86b17eb57013ebccf2b2778ace15e9ef986400b1 Mon Sep 17 00:00:00 2001 From: nvbn Date: Fri, 29 Jan 2016 12:03:47 +0300 Subject: [PATCH 3/3] Fix travis builds --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index df8d67b2..9938c46d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: