Commit Graph

26 Commits

Author SHA1 Message Date
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 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
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
mcarton 986bbb30a7 Create thefuck.archlinux 2015-08-13 18:07:24 +02:00
nvbn d6e80b7835 #298 Suggest more than one result in *_no_command rules 2015-07-29 16:09:26 +03:00
nvbn 4bc1cc7849 #298 Add support of list results in sudo_support 2015-07-29 15:40:21 +03:00
Pablo Santiago Blum de Aguiar 4e854a575e Move get_all_matched_commands over to utils 2015-07-27 22:29:02 -03:00
nvbn 469c5a60b0 #N/A Add replace_argument helper 2015-07-24 00:39:56 +03:00
mcarton 903abff77e Support hub as well as git in @git_support 2015-07-21 15:06:04 +02:00
nvbn dee018e792 #N/A Move get_all_executables (formerly get_all_callables) to utils 2015-07-20 21:04:49 +03:00
nvbn 4f5659caad #87 Add ability to fix branch names in git_checkout rule 2015-07-20 19:25:29 +03:00
nvbn f90bac10ed #290: Fix typo 2015-07-19 21:29:28 +03:00
mcarton 5d0912fee8 Unquote over-quoted commands in @git_support
This allows writing rules more easily (eg. the git_branch_list rule
tests for `command.script.split() == 'git branch list'.split()`) and
looks nicer when `require_confirmation` is set.
2015-07-17 14:07:17 +02:00
mcarton b3e09d68df Start support for git aliases 2015-07-16 20:23:31 +02:00
nvbn f40b63f44b #N/A Add ability to disable memoization in tests 2015-07-10 17:06:05 +03:00
nvbn c0eae8b85c #N/A Add get_closest utility function 2015-07-08 21:30:24 +03:00
mcarton f3cdfbdbdb Add a sed_unterminated_s rule 2015-07-04 17:10:11 +02:00
nvbn a5aadc6e90 Bump to 1.44 2015-05-28 21:31:10 +03:00
nvbn 190e47ecdb #215 Use memoize decorator for caching 2015-05-22 17:07:01 +03:00
nvbn 5864faadef #165 fix python 2 support 2015-05-06 13:17:14 +02:00
nvbn d3d1f99232 Move special data types to types 2015-04-22 23:04:22 +02:00
nvbn 69a9516477 Add ability to change settings via environment variables 2015-04-22 20:18:53 +02:00
nvbn e7b78205f4 Add transparent sudo support for rules where it required 2015-04-22 16:45:38 +02:00
nvbn 1de9c5f77b Add information about writting yourself rules, revert no_command changes 2015-04-17 17:01:30 +02:00
nvbn 1503dcf294 Make no_command work only when apt available 2015-04-17 16:36:38 +02:00