Commit Graph

908 Commits

Author SHA1 Message Date
nvbn f3525e9fe0 #364 Attach user_dir to settings 2015-09-07 18:59:10 +03:00
nvbn df4d2cc88d ⚠️ Remove settings param from rules match, get_new_command and side_effect 2015-09-07 13:00:29 +03:00
nvbn 382eb8b86c Fix tests 2015-09-07 12:12:16 +03:00
nvbn 105d3d8137 Make settings a global singleton 2015-09-06 21:47:12 +03:00
Vladimir Iakovlev 191a2e588d Merge pull request #362 from nvbn/356-fuck-endpoint
#356 fuck endpoint
2015-09-06 13:43:24 +03:00
nvbn f964c65f16 #362 Fix tests for python 2 2015-09-06 13:40:29 +03:00
nvbn dd0667ea8f #356 Ignore thefuck entry points 2015-09-06 13:37:48 +03:00
nvbn 4392872568 #356 Print useful information when fuck called and alias isn't configured 2015-09-06 13:29:42 +03:00
Vladimir Iakovlev f7ce0fda25 Merge pull request #361 from nvbn/357-exclude-rules
#357 Add `exclude_rules` settings option
2015-09-06 12:59:34 +03:00
nvbn 2f9db24ed1 #357 Add exclude_rules settings option 2015-09-06 12:55:59 +03:00
Vladimir Iakovlev 4ae2e9bbc4 Merge pull request #359 from nvbn/use-pytest-docker-pexpect
Use pytest-docker-pexpect
2015-09-06 01:28:37 +03:00
nvbn 5cfd493d05 Make "arrows" tests less dependent on environment 2015-09-06 01:24:29 +03:00
nvbn 22eac045c8 Use @pytest.mark.once_without_docker 2015-09-06 01:14:49 +03:00
nvbn cdd5f21e88 Add functional marker 2015-09-06 01:13:44 +03:00
nvbn 8cc19daaaa Use pytest-docker-pexpect for func tests 2015-09-06 00:56:18 +03:00
nvbn 8bf4182f86 Fix install script on non-ubuntu 2015-09-05 11:54:59 +03:00
nvbn 6df772ba05 Bump to 2.9.1 2015-09-05 11:46:34 +03:00
nvbn e2e8b6fc86 Fix without result 2015-09-05 11:45:39 +03:00
nvbn faa7ee6030 Bump to 2.9 2015-09-05 11:21:21 +03:00
nvbn 6321f25533 Fix bare run of func tests 2015-09-02 13:52:06 +03:00
nvbn 9a02e821cd Fix python 2 support 2015-09-02 11:54:58 +03:00
nvbn 4129ff2717 #353 Cache aliases in a temporary file 2015-09-02 11:10:03 +03:00
nvbn ea6600be8b Kill containers after func tests 2015-09-02 10:33:45 +03:00
nvbn b0195a8748 Reorganize imports 2015-09-02 09:43:40 +03:00
Vladimir Iakovlev fc35ee657e Merge pull request #354 from mcarton/patch-1
Some README fixes
2015-09-02 09:37:28 +03:00
Vladimir Iakovlev 50207d8180 Merge pull request #352 from mcarton/slow
Fix slowness problems II
2015-09-02 09:36:48 +03:00
Martin Carton b6855587fa Some README fixes 2015-09-02 00:05:14 +02:00
nvbn 45d849b1ac Use thefuck --alias in func tests 2015-09-01 18:36:25 +03:00
Vladimir Iakovlev d8027bb499 Merge pull request #348 from myoung34/master
fix usage. why not
2015-09-01 18:21:21 +03:00
nvbn 4932122f71 #349 Add installation of command-not-found in install script 2015-09-01 18:18:28 +03:00
nvbn 8a4f4eea45 #349 Add note about python-commandnotfound dependency 2015-09-01 18:10:53 +03:00
mcarton ff8d61a4fb Merge branch 'master' of github.com:nvbn/thefuck into slow 2015-09-01 14:43:41 +02:00
nvbn 6dcf9a3a14 Fix python 2 support 2015-09-01 15:32:23 +03:00
mcarton 8b62959fe3 Merge branch 'master' of github.com:nvbn/thefuck into slow 2015-09-01 14:28:30 +02:00
nvbn 21103d1b50 Simplify corrector steps 2015-09-01 14:43:27 +03:00
nvbn 61937e9e8f #334: Wait only for first matched rule; regression: always show arrows 2015-09-01 14:34:41 +03:00
nvbn 5d74344994 Make CorrectedCommand ignore priority when checking equality 2015-09-01 13:03:24 +03:00
nvbn 12394ca842 #334: Don't wait for all rules before showing result 2015-09-01 12:51:41 +03:00
nvbn ebe53f0d18 Use decorator library 2015-08-27 16:52:26 +03:00
nvbn 0c283ff2b8 #334 Speed-up rules with caching for_app decorator 2015-08-27 16:42:09 +03:00
nvbn bc78f1bbee git push origin masterMerge branch 'mlk-35_mvn' 2015-08-27 16:11:00 +03:00
nvbn f2a7364e8c #351 Speed-up mvn rules, pep8 fixes 2015-08-27 16:10:50 +03:00
nvbn 9103c1ffd5 Add is_app/for_app helpers 2015-08-27 16:08:29 +03:00
nvbn edf77a90ad Merge branch '35_mvn' of https://github.com/mlk/thefuck into mlk-35_mvn 2015-08-27 14:09:03 +03:00
mcarton 27c14a44af Fix tests
Thanks to [scorphus] for his [help].

[scorphus]: https://github.com/scorphus
[help]: https://github.com/nvbn/thefuck/pull/352#issuecomment-135248982
2015-08-27 10:54:42 +02:00
mcarton 514bb7df81 Don't run a shell just to run another shell 2015-08-26 23:38:33 +02:00
mcarton 3bd2c8d4c8 Remove unused imports 2015-08-26 21:43:20 +02:00
mcarton e5ce000399 Improve the ssh_known_hosts rule import time 2015-08-26 21:43:20 +02:00
mcarton 9fc2bc904c Slightly improve the fix_file rule 2015-08-26 21:43:20 +02:00
mcarton 51f1f44162 Memoize thefuck.utils.which
It is used by some rules to determine if they should be enabled by
default and searches in the $PATH, which can be quiet slow.
2015-08-26 21:43:20 +02:00