Commit Graph

397 Commits

Author SHA1 Message Date
nvbn 7339a97b90 #364 Make aliases cache persistent 2015-09-07 19:05:38 +03:00
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
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
nvbn 2f9db24ed1 #357 Add exclude_rules settings option 2015-09-06 12:55:59 +03:00
nvbn 8cc19daaaa Use pytest-docker-pexpect for func tests 2015-09-06 00:56:18 +03:00
nvbn e2e8b6fc86 Fix without result 2015-09-05 11:45:39 +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 b0195a8748 Reorganize imports 2015-09-02 09:43:40 +03:00
Vladimir Iakovlev 50207d8180 Merge pull request #352 from mcarton/slow
Fix slowness problems II
2015-09-02 09:36:48 +03:00
Vladimir Iakovlev d8027bb499 Merge pull request #348 from myoung34/master
fix usage. why not
2015-09-01 18:21:21 +03:00
mcarton ff8d61a4fb Merge branch 'master' of github.com:nvbn/thefuck into slow 2015-09-01 14:43:41 +02: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 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
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
mcarton b0702d309f Improve brew* rules import time 2015-08-26 21:43:16 +02:00
mcarton 2b750bac8b Log rule import times 2015-08-26 19:14:38 +02:00
Michael Lee 301de75aee #35 - Fuzzy matching on maven lifecycle targets 2015-08-26 14:58:45 +01:00
Michael Lee 0d86fce9be #35 mvn will auto add clean package 2015-08-26 14:01:36 +01:00
myoung34 a2b2e5b5b8 fix usage. why not 2015-08-25 16:40:22 -05:00
nvbn b21c9ebb43 Move all app/os specific utils to specific package 2015-08-25 14:09:47 +03:00
nvbn 2e002f666b Move utility functions from archlinux to utils 2015-08-25 13:55:33 +03:00
Bastian Gebhardt 2b3e8dc62a Adding rule for trying to search using apt-get 2015-08-25 00:20:21 +02:00
mcarton 6754ebe20d Fix some spelling mistakes 2015-08-23 21:27:38 +02:00
mcarton 15d19fdf9c Fix slowness problems
The `get_aliases()` function was also sometimes called through
`shell.get_aliases()`.
Since the `history` rule also uses aliases, the shell was always
executed twice to get the aliases list.
2015-08-23 21:22:54 +02:00
Mark Trolley 38ee31ebcb Fix typo in alias warning
Fixes a small typo in the deprecated alias warning.
2015-08-22 10:01:24 -04:00
Vladimir Iakovlev 7315958ea9 Merge pull request #343 from mlk/hdfs-rm-rm_X_Is_a_directory_add_minus_r
hdfs -rm -r /directory and hdfs -mkdir -p /directory/sub support
2015-08-21 18:34:19 +03:00
Michael Lee 298c04f89c Support for hdfs dfs -mkdir -p /directory/subdirectory 2015-08-21 16:05:49 +01:00
Michael Lee 42a8b4f639 Support for hdfs dfs -rm /directory 2015-08-21 15:48:54 +01:00
Michael Lee feb3eee2a0 Support for either starting only the machine requested, or starting all machines 2015-08-20 10:06:41 +01:00
Michael Lee 7cb0388ed0 Not matched unit tests, code style. 2015-08-20 09:41:01 +01:00
Michael Lee 004c0d06eb starts up vagrant if not already running 2015-08-19 17:12:54 +01:00
Vladimir Iakovlev abbbd1f8eb Merge pull request #339 from mcarton/fix-338
Fix #338
2015-08-19 17:19:38 +03:00
Vladimir Iakovlev 700d9ac7e9 Merge pull request #337 from mcarton/cleanup
Some cleanup and fixes
2015-08-19 17:19:08 +03:00