From 1627c891cbc66408fbb3ca74adb74db72b283557 Mon Sep 17 00:00:00 2001 From: Jason Marmon Date: Fri, 17 Apr 2015 19:31:18 -0400 Subject: [PATCH 1/3] add alias for use on mondays --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 29f40930..8845cf76 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ And add to `.bashrc` or `.zshrc`: ```bash alias fuck='$(thefuck $(fc -ln -1))' +# When you really need it +alias FUCK='fuck' ``` Or in `config.fish`: From 34015ef27c59189d3c1191440c245188dc90741d Mon Sep 17 00:00:00 2001 From: Viktor Stanchev Date: Sat, 18 Apr 2015 15:16:15 -0400 Subject: [PATCH 2/3] make sudo rule work with pacman --- thefuck/rules/sudo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 4fa10123..b1566cf3 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -1,6 +1,7 @@ def match(command, settings): return ('permission denied' in command.stderr.lower() or 'EACCES' in command.stderr + or 'error: you cannot perform this operation unless you are root.' in command.stderr or 'pkg: Insufficient privileges' in command.stderr) From 00490394270a0e18b97fcafd3d906c06c12872ee Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Sat, 18 Apr 2015 21:21:08 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b1740e5..a0c87da9 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ And add to `.bashrc` or `.zshrc`: ```bash alias fuck='$(thefuck $(fc -ln -1))' -# When you really need it +# You can use wahtever you want for as an alias, like for mondays: alias FUCK='fuck' ```