1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
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