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
mcarton
e71a3e0cdb
Replace (almost) all instance of script.split
2015-10-28 16:43:24 +01:00
mcarton
2d995d464f
Fix the cpp11 rule
2015-10-28 15:27:10 +01:00
mcarton
280751b36e
Fix the unzip rules and filenames with spaces
2015-10-28 15:13:33 +01:00
mcarton
0a6a3db65d
Fix the untar rules and filenames with spaces
2015-10-28 15:12:59 +01:00
mcarton
ecfc180280
Add shells.quote
2015-10-28 14:16:01 +01:00
mcarton
dae58211ba
Parse command line with shlex
...
I put that in shells so that weird shells might try to parse it
differently.
2015-10-28 14:01:14 +01:00
Vladimir Iakovlev
5e9b2c56da
Merge pull request #391 from mcarton/tox-3.5
...
#374 Test python 3.5 with tox
2015-10-28 20:52:45 +08:00
mcarton
192ab0bfb0
Test python 3.5 with tox
2015-10-28 13:32:37 +01:00
lovedboy
372e983459
add THEFUCK_HISTORY_LIMIT, my machine is so slow
2015-10-22 19:25:00 +08:00
nvbn
346cb99217
#385 Little refactoring
2015-10-21 18:13:22 +08:00
nvbn
bbfedb861f
Merge branch 'xdg' of https://github.com/mcarton/thefuck into mcarton-xdg
2015-10-21 18:03:39 +08:00
nvbn
f5b0e96747
#382 Prevent partial execution of install.sh
2015-10-21 18:00:08 +08:00
Vladimir Iakovlev
12a33f56bc
Merge pull request #389 from scorphus/fix-touch
...
Fix `rules.touch` tests
2015-10-21 17:50:09 +08:00
Pablo Santiago Blum de Aguiar
590fdba2aa
Fix rules.touch
tests
...
Move them to `rules` sub-directory and import `shells` instead of `and_`
which in turn triggers the `generic_shell` fixture fixing the tests on
Fish Shell.
2015-10-18 19:49:46 -02:00
Vladimir Iakovlev
f374142bf8
Merge pull request #384 from scorphus/fish-func
...
Improve the Fish Shell function making it faster
2015-10-19 01:50:53 +08:00
Vladimir Iakovlev
540ff7e16d
Merge pull request #387 from scorphus/git-two-dashes
...
Add `git_two_dashes` rule
2015-10-19 01:50:04 +08:00
Vladimir Iakovlev
806dad18bf
Merge pull request #386 from mcarton/CONTRIBUTING
...
Add a CONTRIBUTING file
2015-10-19 01:49:02 +08:00
Vladimir Iakovlev
8b416f269f
Merge pull request #388 from scorphus/fix-brew-tests
...
Fix rules.brew_install tests on Mac
2015-10-19 01:48:53 +08:00
Pablo Santiago Blum de Aguiar
5e44fb22be
Fix rules.brew_install tests on Mac
2015-10-17 18:46:07 -03:00
Pablo Santiago Blum de Aguiar
5389d0c106
Add git_two_dashes
rule
2015-10-17 18:40:53 -03:00
mcarton
c970f190d2
Add a CONTRIBUTING file
2015-10-17 15:45:13 +02:00
mcarton
8f25c95f06
Use XDG_CACHE_HOME for cache
2015-10-16 17:33:52 +02:00