Joel Schaerer
19927146dd
2.x compatibility
14 years ago
Joel Schaerer
c25668f4f7
fix for backwards compatibility with 2.x pickles
14 years ago
Joel Schaerer
4d371fad21
try to support both python 3 and python 2
...
Courtesy of "Guillaum" on linuxfr:
http://linuxfr.org/~Nonolapero/30339.html
14 years ago
Joël Schaerer
52f3c84b29
try to make autojump more robust to concurrent uses over network filesystems
...
When your home is on a network filesytems, multiple shells can try
to write to the autojump store concurrently. The previous system was
a bit dangerous since the name of the temp file was always the same.
This should be better, since the different autojump instances should
all write to different temporaries, and only the atomic rename() should
be concurrent. Time will tell...
14 years ago
Joël Schaerer
a013f8d463
while the db should stay of a reasonable size, we REALLY
...
don't want autojump to remove paths
14 years ago
Joël Schaerer
4de9c1c311
put the autojump data files in the correct directories.
...
Existing files should be migrated automatically
14 years ago
Joël Schaerer
64b3b7997c
fix nasty bug
14 years ago
Joël Schaerer
0f3a6b4b20
avoid doing the cleanup every time
14 years ago
Joël Schaerer
1be62c7ad2
don't remove non-existent paths, keep the db small
...
Change the way we keep the database under a reasonable size, to better support removable drives
Instead of removing non-existent paths, keep the 300 more recent directories
14 years ago
Joël Schaerer
5b0b8f866e
more informative jumpstat
14 years ago
Barnaby Gray
91c05b1f8c
python 2.4 compatibility
14 years ago
Joel Schaerer
ea3cd60653
make the completion separator configurable
14 years ago
Joel Schaerer
8e1ab9ca54
fix completions for zsh
14 years ago
Joël Schaerer
3fa72536e9
completion now works with multiple patterns!!!
15 years ago
elcerdo
3936e28650
bugfix: pattern was not defined
15 years ago
Joel Schaerer
0e7ef2e721
multiple patterns (thanks amix!)
15 years ago
Joel Schaerer
35836ada8f
bugfix
15 years ago
Joel Schaerer
3b5b52d610
disable regexes
...
Rationale: regexes in the dirspec break autojump for weird directory
names like "c++". In more than one year of use, I've never even been
tempted to use a regexp with autojump. So I think it is safe to remove
this feature. If enough users shout, I will revert this change.
15 years ago
Joel Schaerer
90bdb73a40
minor fixes
15 years ago
Joël Schaerer
c533b2b4fd
weird corner cases
15 years ago
Joel Schaerer
2d4e3c8a6c
Automatically recover from db corruption. Thanks epall!!!
15 years ago
Joel Schaerer
0ec15907e3
fixes for zsh. Thanks simon!!!
15 years ago
Joel Schaerer
92ef70ffce
fix for completion and directories with spaces.
...
Autojump is really starting to mature :)
15 years ago
Joël Schaerer
eb0f287eb9
use the backup file in case of problems
15 years ago
Joël Schaerer
99d82be473
add backup file
15 years ago
Joel Schaerer
8b4e282a91
avoid saving the file everytime we jump
16 years ago
Joel Schaerer dedibox
278ea9cc01
ok this time it should really work :-/
16 years ago
Joël Schaerer
621ee1fc7f
we should never fsync during completion
16 years ago
Joël Schaerer
6b6bbd4c8b
really remove dead directories
16 years ago
Joël Schaerer
2963f1fcea
license stuff
16 years ago
Joel Schaerer
3208034466
save the dict in the event of non-existent directories. Thanks "robmaloy"!
16 years ago
Simon Marache-Francisco
e86f8a537d
autojump will not remember home dir (may be in conflict with other directory)
16 years ago
Joël Schaerer
51ae7c9293
remove harmless error message
16 years ago
Joël Schaerer
3bd45e5304
according to T'so, this is the correct way to do atomic writes in a file ( http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/ )
16 years ago
Joel Schaerer
18447505ee
Revert "do the PROMPT_COMMAND in the background for better performance"
...
This reverts commit 87b188cf12
.
16 years ago
Joel Schaerer
87b188cf12
do the PROMPT_COMMAND in the background for better performance
16 years ago
Joël Schaerer
796e2c9048
small bugfix
16 years ago
Joël Schaerer
614cf4d0b4
this should fix the performance problems by limiting the number of calls to match
16 years ago
Joël Schaerer
bcd5476c6d
merge autojump_completion into autojump.sh ; fix atomic write ; avoid risk of extreme slowdown by multiple autojumps in prompt command
16 years ago
Joël Schaerer
3d4f8a4d4f
fix for directories with spaces
16 years ago
Joël Schaerer
0f457b436d
major refactoring to make completion work better
16 years ago
Joël Schaerer
6026f24747
Merge branch 'completion' of git@github.com:joelthelion/autojump into completion
16 years ago
Joel Schaerer
45ef024c20
Better error handling. Thanks Lionel Ott!
16 years ago
Joel Schaerer
81c8e3ea3f
still buggy, but I think we are improving
16 years ago
Joel Schaerer
1f2292708a
ok this is already a little better
16 years ago
Joel Schaerer
4b64944832
this is already something...
16 years ago
Joel Schaerer
d5a7c0579a
use only the last argument
16 years ago
Joel Schaerer
3ff9135aa1
small changes
16 years ago
Joel Schaerer
d4eae3ef98
bugfix
16 years ago
Joel Schaerer
ff5c978079
some support for bash completion
16 years ago