mcarton
e3cc9c52e6
Remove redundant patterns in sudo rule
2015-06-26 11:41:55 +02:00
mcarton
01ce65047a
Use spaces instead of tabs
...
This is more common in python and follows other rules usage.
2015-06-26 11:27:04 +02:00
Maciej Mionskowski
360e4673eb
Added systemctl rule
2015-06-24 09:36:09 +02:00
Cami Diez
a0949b1102
Added Python Compile Rule
2015-06-21 09:24:27 +08:00
nvbn
2f1460120e
Merge branch 'master' of github.com:nvbn/thefuck
2015-06-16 13:53:24 +03:00
nvbn
43ec397190
#252 Fix bash and zsh aliases
2015-06-16 13:52:41 +03:00
nvbn
eb537bef81
Merge branch 'issue-221-tf-alias' of https://github.com/scorphus/thefuck into scorphus-issue-221-tf-alias
2015-06-16 13:49:17 +03:00
Vladimir Iakovlev
b033d3893b
Merge pull request #256 from scorphus/psutil-children
...
fix(main.wait_output): use Process’ children() instead of get_children()
2015-06-16 13:47:30 +03:00
nvbn
633c4f8415
#257 sudo patterns are case insensitive
2015-06-16 13:46:18 +03:00
TJ Horner
5bfe0ac997
One more trigger word
2015-06-15 17:13:21 -07:00
TJ Horner
e8a55220ad
Forgot to commit the actual rule 👎
2015-06-15 17:11:54 -07:00
Pablo Santiago Blum de Aguiar
6a88cc47b6
fix(main.wait_output): use Process’ children() instead of get_children()
...
Since psutil 2.0.0 `get_children()` has become deprecated and the use of
`children()` instead of it has been encouraged. In version 3.0.0, just
released, `get_children()` has been dropped. Check:
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
Fix #255
2015-06-15 09:59:58 -03:00
Pablo Santiago Blum de Aguiar
96fe1e77b3
refact(rules.no_command): do not add TF_ALIAS to the “callables” list
...
Fix #234 , #245 and #251
Ref #221
2015-06-12 00:49:55 -03:00
Pablo Santiago Blum de Aguiar
c08d9125e4
refact(shells): use an env var TF_ALIAS to keep the name of the alias
...
This environment variable may be used by any rule to decide whether it
matches or not.
2015-06-10 20:50:49 -03:00
nvbn
add499af7f
#250 #247 Fix UnicodeDecodeError with fish
2015-06-07 02:23:48 +03:00
nvbn
9c711734aa
Merge branch 'encode_fix' of https://github.com/SanketDG/thefuck into SanketDG-encode_fix
2015-06-07 02:13:48 +03:00
SanketDG
6bb7d79ddc
change encoding of return statement to utf8
2015-06-07 00:03:00 +05:30
mcarton
f6c013d033
Add a cargo_no_command
rule
2015-06-06 17:22:14 +02:00
mcarton
01cf199866
Add a cargo
rule
2015-06-06 17:05:51 +02:00
cubuspl42
f55fa35ebf
Added mount rule
...
$ mount /dev/sda2 /mnt/var
mount: only root can do that
2015-06-04 18:38:09 +02:00
Vladimir Iakovlev
c47968a180
Merge pull request #240 from diezcami/brew-upgrade
...
Added brew_upgrade rule
2015-06-02 08:46:57 +03:00
Vladimir Iakovlev
581c97ec4b
Merge pull request #239 from diezcami/quotation-marks
...
Added quotation_marks rule
2015-06-02 08:46:06 +03:00
Cami Diez
2ed96b1d51
Added brew_upgrade rule
2015-06-02 13:23:34 +08:00
Cami Diez
79d94e2651
Added quotation marks rule
2015-06-02 13:18:13 +08:00
Cami Diez
1d2d907c60
Added go_run rule
2015-06-02 12:05:47 +08:00
Sergey Bugaev
660422806c
Add git_branch_list rule
2015-06-01 23:52:41 +03:00
Vladimir Iakovlev
3c8978784b
Merge pull request #230 from scorphus/git-diff-staged-rule
...
add(rule): add the new git_diff_staged rule
2015-06-01 08:10:06 +03:00
Sergey Bugaev
dbe1a94c7d
Wrap apt-get rule in sudo_support
...
Fixes sudo_support not working for no_command rule.
2015-05-30 19:40:01 +03:00
Pablo Santiago Blum de Aguiar
15e13d7c1a
add(rule): add the new git_diff_staged rule
2015-05-29 18:41:53 -03:00
mcarton
237f43ebdb
Fix cd command
...
Fix #226
2015-05-28 23:29:38 +02:00
nvbn
a5aadc6e90
Bump to 1.44
2015-05-28 21:31:10 +03:00
nvbn
73bc6c0184
Merge branch 'java' of https://github.com/diezcami/thefuck into diezcami-java
...
Conflicts:
README.md
2015-05-28 18:03:24 +03:00
Vladimir Iakovlev
0296a4a46d
Merge pull request #227 from Dugucloud/master
...
Added a sudo string of Fedora's fedup
2015-05-28 18:02:00 +03:00
Vladimir Iakovlev
54a9769c10
Merge pull request #224 from diezcami/javac
...
Added javac rule
2015-05-28 18:01:14 +03:00
Vladimir Iakovlev
abc7238d14
Merge pull request #219 from scorphus/fix-shell-fish
...
fix(shell::Fish): avoid looping when calling `fuck` twice
2015-05-28 18:00:42 +03:00
Dugucloud
710a72ee8c
Added sudo string for Fedora's fedup
2015-05-28 09:46:41 +08:00
Cami Diez
b1da6a883a
Added java rule
2015-05-27 15:50:41 +08:00
Cami Diez
a9e3b22fa4
Added javac rule
2015-05-27 15:47:34 +08:00
Pablo Santiago Blum de Aguiar
9debcdf676
fix(shells::Fish): avoid looping when calling fuck
twice
...
Or whatever the `thefuck` function name is.
Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2015-05-27 00:39:47 -03:00
Cami Diez
d3146aa0ac
Addressed Issue #210
2015-05-23 23:18:15 +08:00
nvbn
190e47ecdb
#215 Use memoize decorator for caching
2015-05-22 17:07:01 +03:00
Pablo Santiago Blum de Aguiar
551e35e3b6
refact(shells): add support to Fish functions
...
Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2015-05-21 23:56:37 -03:00
Pablo Santiago Blum de Aguiar
2bebfabf8d
refact(shells): cache aliases to speed up subsequent calls
...
Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2015-05-21 23:56:28 -03:00
Pablo Santiago Blum de Aguiar
6cf430cc23
refact(man): do not match if there's no argument to man
...
If there's no argument to man, a call to thefuck should just give no
fuck.
Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2015-05-21 00:00:22 -03:00
nvbn
c65fdd0f81
Add rule for django south inconsistent migrations
2015-05-21 00:55:23 +03:00
nvbn
e7d7b80c09
Add rule for django south ghost migrations
2015-05-21 00:49:56 +03:00
Vladimir Iakovlev
f986df23d5
Merge pull request #212 from scorphus/fix-whois
...
fix(whois): check if there's at least one argument to `whois`
2015-05-21 00:33:22 +03:00
Pablo Santiago Blum de Aguiar
44c06c483e
fix(whois): check if there's at least one argument to whois
...
This avoids thefuck failing when there's no arguments. It fails with:
```
...
File "thefuck/rules/whois.py", line 26, in get_new_command
url = command.script.split()[1]
IndexError: list index out of range
```
Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2015-05-20 13:54:33 -03:00
mcarton
1f48d5e12a
Add a rule to change man section
2015-05-20 18:08:15 +02:00
nvbn
2c3df1ad47
#209 add support of aliases to no_command
2015-05-20 16:58:05 +03:00