William Ting
d529790278
Run pre-commit on repo.
2016-04-28 23:33:04 -07:00
William Ting
819c5c76cc
Makes sure that autojump is sourced before running.
...
Fixes #255 .
2014-10-21 18:29:45 -07:00
William Ting
581b8d9617
autopep8'ed
2014-08-09 19:59:41 -07:00
William Ting
62c0877479
Add xrange() and fix second() for Python3.
2014-06-28 19:37:32 -07:00
Felix Laurie von Massenbach
68b457184d
Fix bad encoding.
...
In python3, string.encode returns a byte array like:
b'14.1:\t/home/felix/devel/autojump'
This stops autojump from functioning at all.
2014-06-26 02:00:17 +01:00
William Ting
35bc63c66e
Fix encoding issues.
...
The original implementation used str.encode() on input and str.decode() on
output. However this would cause UnicodeDecodeError since certain characters
can't be encoded / decoded in ASCII.
The new solution is to use unicode() on all input strings and output UTF-8
encoded strings. This makes the assumption that the shell can handle UTF-8
strings.
2014-01-08 11:05:25 -06:00
William Ting
3f460fb3e9
Add Python 2.6 support back.
...
Closes #242 .
2014-01-07 09:56:30 -06:00
William Ting
795bdcc9a7
add env vars integration tests
2013-12-31 18:02:08 -06:00
William Ting
fb1f397fee
add string unit tests
2013-12-31 16:49:41 -06:00
William Ting
8ab23c01c4
Fix tab completion.
...
Closes #228 .
2013-12-31 10:39:52 -06:00
William Ting
c4feb1a2b2
remove surround_quotes() due to bash issues
2013-12-31 08:48:33 -06:00
William Ting
6293af5b7a
fix zsh tab completion
2013-12-30 17:44:39 -06:00
William Ting
a59d671fb0
rename python files to prevent system wide installation collisions
2013-12-30 14:49:34 -06:00