William Ting
96ae111824
feat: default to Python 3.
2 years ago
William Ting
a0719f488e
(Running pre-commit) Use Yelp-style indentation.
7 years ago
William Ting
d529790278
Run pre-commit on repo.
8 years ago
William Ting
819c5c76cc
Makes sure that autojump is sourced before running.
...
Fixes #255 .
10 years ago
William Ting
581b8d9617
autopep8'ed
10 years ago
William Ting
62c0877479
Add xrange() and fix second() for Python3.
10 years ago
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.
10 years ago
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.
11 years ago
William Ting
3f460fb3e9
Add Python 2.6 support back.
...
Closes #242 .
11 years ago
William Ting
795bdcc9a7
add env vars integration tests
11 years ago
William Ting
fb1f397fee
add string unit tests
11 years ago
William Ting
8ab23c01c4
Fix tab completion.
...
Closes #228 .
11 years ago
William Ting
c4feb1a2b2
remove surround_quotes() due to bash issues
11 years ago
William Ting
6293af5b7a
fix zsh tab completion
11 years ago
William Ting
a59d671fb0
rename python files to prevent system wide installation collisions
11 years ago