Vladimir Iakovlev
1b12cd85e9
Merge pull request #423 from MattKotsenas/bugfix/cd_mkdir
...
Add Windows error message support to cd_mkdir rule
2016-01-06 03:34:03 +03:00
Matt Kotsenas
47df80f6b8
Add Windows error message support to cd_mkdir rule
...
Add the Windows error message 'the system cannot find the path specified'
to the list of recognized messages for cd_mkdir.
2016-01-05 13:55:59 -08:00
Vladimir Iakovlev
a0ef0efe46
Merge pull request #419 from mcarton/fix-unzip
...
Fix the `dirty_unzip` rule
2015-12-30 00:58:30 +03:00
Vladimir Iakovlev
25662ad737
Merge pull request #418 from makalaaneesh/master
...
sudo sh execute for && in commands - preventing double sudo
2015-12-30 00:57:50 +03:00
mcarton
42b344676e
Fix dirty_unzip rule on non-zip files
2015-12-29 18:46:35 +01:00
mcarton
a3e1cb6718
Fix thefuck unzip
, fix #416
2015-12-29 18:38:58 +01:00
makalaaneesh
f249098336
sudo sh execute for && in commands - preventing double sudo
2015-12-23 14:35:47 +05:30
nvbn
c3b1ba7637
#415 : Prevent double sudo
2015-12-11 07:41:13 +08:00
nvbn
b65a9a0a4f
#414 : Initialize output before any colorama import
2015-12-04 18:34:52 +08:00
nvbn
29c1d1efcf
#414 : Move system-dependent utils in system
module
2015-12-03 20:03:27 +08:00
nvbn
0560f4ba8e
#414 : Install and use win_unicode_console
only on windows
2015-12-01 20:15:27 +08:00
Pavel Krymets
f9aa0e7c6b
Fix windows unicode output issues
2015-11-30 16:24:31 -08:00
Pavel Krymets
b18a049886
Fix getch on windows
2015-11-30 12:33:28 -08:00
nvbn
9192b555b5
Merge branch 'master' of github.com:nvbn/thefuck
2015-11-26 03:42:16 +08:00
nvbn
d750d3d6d1
#412 : Add _script_from_history
for generic shell
2015-11-26 03:42:03 +08:00
Vladimir Iakovlev
3ad953001d
Merge pull request #411 from scorphus/unicode
...
Support non-ascii content in Python 2
2015-11-25 20:41:20 +08:00
Pablo Santiago Blum de Aguiar
3b4b87d8ed
#398 : Test PYTHONIOENCODING=utf-8
in shell aliases
2015-11-25 02:34:33 -02:00
Pablo Santiago Blum de Aguiar
6c3d67763a
#398 : Add PYTHONIOENCODING=utf-8
to Fish Shell alias
2015-11-25 02:34:33 -02:00
Pablo Santiago Blum de Aguiar
959680d24d
#N/A Set TF_ALIAS as an environment variable
...
For more info, check:
http://fishshell.com/docs/current/faq.html#faq-single-env
2015-11-25 02:34:33 -02:00
Pablo Santiago Blum de Aguiar
b0adc7f2ca
#N/A Indent Fish alias with two spaces (default)
2015-11-25 02:34:33 -02:00
Pablo Santiago Blum de Aguiar
fc05364233
#398 & #408 : Support non-ascii IO in Python 2
2015-11-25 02:34:19 -02:00
Pablo Santiago Blum de Aguiar
ad3db4ac67
#N/A Fix F812 list comprehension redefines cmd
2015-11-25 02:34:15 -02:00
Pablo Santiago Blum de Aguiar
4a7b335d7c
#N/A Add ability to get Fish Shell history
2015-11-25 02:34:02 -02:00
Pablo Santiago Blum de Aguiar
465f6191b0
#N/A Cleanup and adjust syntax
2015-11-25 01:58:07 -02:00
Vladimir Iakovlev
b2836319ad
Update README.md
2015-11-19 11:22:56 +08:00
Vladimir Iakovlev
b3e9b36bd1
Merge pull request #409 from nvbn/394-history-limit
...
#394 history limit
2015-11-19 11:17:21 +08:00
lovedboy
ae2949cfa2
python2.7 unicode error
2015-11-19 09:40:44 +08:00
nvbn
1bb04b41eb
#398 : Add PYTHONIOENCODING=utf-8
to shell aliases
2015-11-18 18:37:11 +08:00
Vladimir Iakovlev
acd0b3e024
Merge pull request #406 from mcarton/py2→3
...
Fix cache problem when going from Python 2 to 3
2015-11-18 18:32:24 +08:00
mcarton
7c5676491a
Fix some more warnings from flake8
2015-11-15 18:08:59 +01:00
mcarton
8feb722ed0
Fix some pep8 warnings
2015-11-15 18:02:37 +01:00
mcarton
c3ea2fd0c7
Fix cache problem when going from Python 2 to 3
2015-11-15 16:55:07 +01:00
nvbn
b55464b2ea
#403 Add sudo rule's pattern for dscl
2015-11-13 15:37:13 +08:00
nvbn
8ddb61ae89
#N/A Add python-gdbm to install script
2015-11-12 18:43:15 +08:00
Vladimir Iakovlev
fe91008a9c
Merge pull request #400 from alessio/fix-memoize
...
Fix misinterpretation of the disabled flag
2015-11-06 02:19:07 +08:00
Alessio Treglia
7f777213c5
Fix misinterpretation of the disabled flag
...
The old implementation was misinterpretating the disabled flag and
effectively applying memoization even when explicitly disabled.
The 'or' operator is a short-circuit one; namely, it evaluates the
second argument if and only if the first is False. Therefore the
following conditions caused unexpected side effects:
- memoize.disabled = True, key not yet memoized
Having disabled the memoize function wrapper, the client expects
that no memoization happens. Instead the execution enters the
if clause and store the value into the 'memo' dictionary
- memoize.disabled = True, key memoized
Having disabled the memoize function wrapper, the client expects
that no memoization happens and the function will be evaluated
anyway, whether or not its return value had already been stored in
the 'memo' dictionary by a previous call. On the contrary, the last
statement of wrapper() access the value stored by the last function
execution.
This commit attempts to improve the function readability too.
2015-11-04 22:44:50 +00:00
nvbn
89f868c115
Bump to 3.2
3.2
2015-11-03 17:38:07 +08:00
nvbn
81f6a25abc
#398 : Fix UnicodeDecodeError in logs
2015-11-01 14:42:48 +08:00
nvbn
cc9af78787
Merge branch 'master' of github.com:nvbn/thefuck
2015-11-01 13:17:15 +08:00
nvbn
1fc3f1b5bf
#398 : Fix UnicodeDecodeError in logs
2015-11-01 13:16:58 +08:00
Vladimir Iakovlev
45574d06c9
Merge pull request #397 from janek-warchol/use-force-with-lease
...
Use --force-with-lease instead of --force for git push
2015-10-31 02:47:51 +08:00
Jan Warchoł
dc23d67a42
Use --force-with-lease instead of --force for git push
...
--force flag can be very dangerous, because it unconditionally
overwrites remote branch - if someone pushed new commits to the remote
repo after you last fetched/pulled, and you do push --force, you will
overwrite his commits without even knowing that you did that. Using
--force-with-lease is much safer because it only overwrites remote
branch when it points to the same commit that you think it points to.
Read more:
https://developer.atlassian.com/blog/2015/04/force-with-lease/
2015-10-30 16:17:56 +01:00
nvbn
2fea0d4c60
#394 : Force history_limit
to be int
2015-10-30 16:23:19 +08:00
nvbn
8c8abca8d5
#394 : readlines
isn't lazy
2015-10-29 22:51:30 +08:00
nvbn
bd6ee68c03
#394 : Try simpler solution to limit lines count
2015-10-29 20:17:17 +08:00
nvbn
16533e85a7
Merge branch 'debug' of git://github.com/lovedboy/thefuck into lovedboy-debug
2015-10-29 20:00:04 +08:00
lovedboy
b3a19fe439
history limit from settings
2015-10-29 10:14:34 +08:00
nvbn
959b96cf6e
#392 : Show only debug message if script isn't splitable
2015-10-29 01:03:27 +08:00
nvbn
f20311fa89
#392 : Little refactoring
2015-10-29 00:13:59 +08:00
nvbn
a4c391096a
Merge branch 'fix-split' of https://github.com/mcarton/thefuck into mcarton-fix-split
2015-10-29 00:04:29 +08:00