1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00

1590 Commits

Author SHA1 Message Date
gkodosis
eacc9c3cad Refactor commit 2020-07-06 16:39:57 +03:00
gkodosis
e8905a5a54 Test pyenv change 2020-07-06 16:12:23 +03:00
gkodosis
c8cee17fb2 Test pyenv change 2020-07-06 16:09:37 +03:00
gkodosis
773b650cac Test pyenv change 2020-07-06 15:44:42 +03:00
gkodosis
cc2a6d5d67 Test pyenv change 2020-07-06 15:33:28 +03:00
gkodosis
269ff4e0e7 Test get_commands change 2020-07-06 15:09:30 +03:00
gkodosis
9d49d3957b Update tests 2020-07-06 14:33:32 +03:00
gkodosis
7318227825 Update rules based on devenv re-config 2020-07-06 14:31:36 +03:00
gkodosis
f451614fbf Re-write get_commands function 2020-07-06 14:29:49 +03:00
gkodosis
a9aa53d71a Remove unused import 2020-07-03 16:46:57 +03:00
gkodosis
771a6b5ca1 Remove test for get_new_command 2020-07-03 16:43:03 +03:00
gkodosis
3505680869 Revert test-source changes 2020-07-03 16:35:43 +03:00
gkodosis
8d256125bf Test error source 2020-07-03 15:44:19 +03:00
gkodosis
8be4ae4cda Test error source 2020-07-03 15:34:31 +03:00
gkodosis
9a9aeef92c Update rules 2020-07-01 20:58:41 +03:00
gkodosis
55eaf7e013 Add test for specific/devenv.py 2020-07-01 20:31:39 +03:00
gkodosis
6a71a52181 Update tests based on flake8 changes 2020-07-01 20:20:28 +03:00
gkodosis
c1bd436fbe Flake8 style config 2020-07-01 19:52:14 +03:00
gkodosis
2d98015cf2 Remove env_no_such_command.py 2020-06-30 20:22:12 +03:00
gkodosis
0aaf827d2d Add devenv submodule 2020-06-30 20:14:20 +03:00
gkodosis
fec207483d Add tests 2020-06-30 20:11:23 +03:00
gkodosis
31a594debc Add rbenv rule 2020-06-30 20:06:21 +03:00
gkodosis
905dbebbd1 Re-Add & Update pyenv rule 2020-06-30 20:05:17 +03:00
gkodosis
629a506116 Add nodenv rule 2020-06-30 20:03:34 +03:00
gkodosis
862abe75cf Add goenv rule 2020-06-30 20:02:43 +03:00
gkodosis
00d96f9799 Update README.md 2020-06-30 20:00:13 +03:00
gkodosis
6abaf8d24b Remove re import 2020-06-01 22:06:02 +03:00
gkodosis
b83c9d755d Update env rule 2020-06-01 22:01:23 +03:00
gkodosis
1ac2325479 Rename pyenv rule 2020-05-08 19:11:59 +03:00
gkodosis
b4dadebd5f globalize pyenv rule 2020-05-08 19:04:44 +03:00
Pablo Aguiar
6975d30818
#960: Improve pacman_invalid_option rule (#1072)
The rule now matches all possible lower case options and only those, not
failing for those that cannot be fixed.
2020-04-06 21:46:40 +02:00
DragonGhost7
3c542a5b8c
Added pacman invalid option rule (#960)
* Added pacman invalid option rule

* Added test

* flake8 fixes

* Test changes

* Test fix

* Typo - again

* Travis test fix

* More Travis

* Even more travis

* I hope im right here

* Update README.md

Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>

* Update thefuck/rules/pacman_invalid_option.py

Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2020-03-28 23:15:20 +01:00
Vladimir Iakovlev
d3a05426de Bump to 3.30 3.30 2020-03-19 18:21:12 +01:00
Caplinja
88db57b4b1 #N/A: Add a new rule to create directory on cp or mv 2020-03-01 13:04:53 -06:00
Caplinja
444908ce1c #1047: Fix pip_unknown_command by using a less restrictive regex
Fix #1047
2020-03-01 10:40:49 -06:00
David Hart
2ced7a7f33 Allow multiple returns from git_checkout (#1022)
* Allow multiple returns from git_checkout

* Remove multiple returns
2020-01-13 23:28:20 +01:00
David Hart
b28ece0f34 Apt-get help is now much more like apt (#1031)
* Apt-get help is now much more like apt

* Fix tests

* Really fix the tests
2020-01-05 23:53:09 +01:00
Vladimir Iakovlev
eb60900330
#N/A: Unlink python 2 on travis-ci osx build (#1032) 2020-01-05 23:51:19 +01:00
donniebreve
ed8aaa7f26 fixed grammar on how to configure message (#1029) 2019-12-23 17:57:42 +01:00
Tim Gates
77992029b6 Fix simple typo: controle -> control (#1017) 2019-12-16 22:10:45 +01:00
Eli Schiff
25c858c13e removed useless redefined of path variable (#1023) 2019-12-16 21:56:12 +01:00
Vladimir Iakovlev
60073bea78
N/A: Remove deprecated python 3.4 support + fix tests in 2.7 (#1025)
* N/A: Remove deprecated python 3.4 support

More details - https://www.python.org/downloads/release/python-3410/

* N/A: Remove Python 3.4 from appveyor config

* N/A: Fix UnicodeDecodeError with Python 2.7 and newer versions of py.test
2019-12-16 21:55:19 +01:00
Philip Arola
d10fc80fa5 Add choco_install rule (#998)
* Add choco_install rule

Adds a rule to append '.install' to a chocolatey install command that
failed because of a non-existent package.

TODO: add support for other suffixes (.portable), find more parameter
cases

* Apply suggestions from code review

Circling back to retest

Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>

* Fixed errors from suggested changes

* Added more test cases, refactored parsing

* Reformat keyword detection if statement

* Fixed flake errors

* Added tests for match
2019-11-07 01:10:00 +01:00
boonwj
fdea32b47d Fix typos in README.md (#997)
* Fix typos in README.md

* Fix another typo

- lifecycle to life cycle
2019-11-02 19:07:32 +01:00
Simon Chan
9381cfefa5 fix: incorrect powershell alias instruction (#1004)
* fix: incorrect powershell alias instruction

* fix: use dot operator to reload powershell profile
2019-11-02 19:06:17 +01:00
boonwj
793510ad48 Add rule to remove leading shell prompt literal $ (#996)
* Add rule to remove shell prompt literals $

Rule added to handle cases where the $ symbol is used in the command,
this usually happens when the command is copy pasted from a
documentation that includes the shell prompt symbol in the code blocks.

* Change files using black and flake8 style check

* Refactor tests and rule

- Refactor test for cleaner test tables
- Removed unnecessary requires_output=True option
2019-11-02 19:04:47 +01:00
Pablo Aguiar
d85099b8da #N/A: Inform the correct path to DEFAULT_RULES (#993) 2019-11-02 19:03:58 +01:00
Pablo Aguiar
ecee70f774 #N/A: Use Xenial on TravisCI (#989)
This simplifies and reduces the size of `.travis.yml`.
2019-11-02 19:03:35 +01:00
Shawn McGraw
70b414aca2 Issue#965 - added venv instructions to CONTRIBUTING.md (#976)
* Issue#965 - added venv instructions to CONTRIBUTING.md

* Added link to official docs for venv [issue965]
2019-10-23 00:30:55 +02:00
Pablo Aguiar
80cfd6991d #N/A: Add new git_branch_delete_checked_out rule (#985) 2019-10-23 00:30:17 +02:00