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

330 Commits

Author SHA1 Message Date
Michael Schout
550c21dc98 fix shbang line so it will find python if not in /usr/bin 2010-12-03 17:39:07 +08:00
Joël Schaerer
d6f398858c minor fixes 2010-11-25 15:33:53 +01:00
Joël Schaerer
82d3e14c1f initial version of script for ipython 2010-11-25 15:19:33 +01:00
Davide Setti
8a24aa89b3 use itemgetter() in sort() instead of a lambda function 2010-11-25 18:53:23 +08:00
Joël Schaerer
d50de9196a attempt to fix permissions problem
when you "su", the prompt_command can stay set, even without
autojump getting sourced. Then the user's autojump file changes
owner, and a disaster ensues. This is an attempt to fix this
problem.
2010-11-02 17:07:10 +01:00
Joël Schaerer
d9010198ef no need for a hidden file in this directory 2010-10-27 14:52:28 +02:00
Joël Schaerer
929ba399b5 remove old compatibility code since we don't support <2.6 anymore anyways 2010-10-25 15:18:04 +02:00
Joël Schaerer
06f4cba19d 2.x compatibility 2010-10-25 10:06:29 +02:00
Joel Schaerer
19927146dd 2.x compatibility 2010-10-24 11:42:45 +02:00
Joel Schaerer
c25668f4f7 fix for backwards compatibility with 2.x pickles 2010-10-24 11:36:24 +02:00
Joel Schaerer
4d371fad21 try to support both python 3 and python 2
Courtesy of "Guillaum" on linuxfr:
http://linuxfr.org/~Nonolapero/30339.html
2010-10-24 11:30:01 +02:00
Joel Schaerer
edec6a140f create some directories if they don't exist 2010-10-01 16:49:18 +02:00
Joel Schaerer
c877a51ad6 disable XDG_DATA_HOME for now
Some people will scream, but XDG_DATA_HOME is broken for now, since
it is not changed when you "su" from a terminal.
2010-10-01 16:36:41 +02:00
Joël Schaerer
e04382358b tentative fix of corner case path bug 2010-09-30 14:37:43 +02:00
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...
2010-09-29 15:22:13 +02:00
Joël Schaerer
de9270bb99 tell the user he needs to source his *rc before he can start using autojump 2010-08-31 15:40:32 +02:00
Joël Schaerer
6b9880dc47 chain commands in the prompt_command with ; rather than && 2010-08-31 15:30:11 +02:00
Joël Schaerer
4f9d0254a2 Merge branch 'master' of github.com:joelthelion/autojump 2010-08-31 12:02:19 +02:00
Joël Schaerer
cdf5772d48 mention that autojump isn't meant to be a drop-in replacement for cd 2010-08-31 12:01:39 +02:00
Joel Schaerer
563cc4ff0d Merge branch 'master' of github.com:joelthelion/autojump 2010-08-29 13:58:20 +02:00
Joel Schaerer
24db718bdd added files to uninstall directives 2010-08-29 13:57:54 +02:00
Joël Schaerer
dfe7626251 small script to make releases with git 2010-08-25 11:49:33 +02:00
Joël Schaerer
145b8ee43e remove incorrect statement 2010-08-25 11:23:28 +02:00
Joel Schaerer
512db419e1 make zsh installer more robust to fpath problems 2010-08-18 23:56:40 +02:00
Julien Nicoulaud
e60f35d866 Avoid 'scalar parameter data_dir created globally in function' warning in Zsh 2010-08-19 00:05:30 +08:00
Joël Schaerer
a013f8d463 while the db should stay of a reasonable size, we REALLY
don't want autojump to remove paths
2010-08-03 15:09:09 +02:00
Joël Schaerer
7bd7db8770 messed up the last commit 2010-07-26 16:31:45 +02:00
Joël Schaerer
4de9c1c311 put the autojump data files in the correct directories.
Existing files should be migrated automatically
2010-07-26 16:24:34 +02:00
Joël Schaerer
6bcd8259a5 put header in the right place 2010-07-26 14:55:31 +02:00
Joël Schaerer
6f2ee56973 Merge branch 'master' of github.com:joelthelion/autojump 2010-07-23 16:26:54 +02:00
Joël Schaerer
64b3b7997c fix nasty bug 2010-07-23 16:26:36 +02:00
Joel Schaerer dedibox
db7648dd1d less intrusive installer 2010-07-21 22:55:16 +02:00
Joël Schaerer
0f3a6b4b20 avoid doing the cleanup every time 2010-07-21 16:48:35 +02:00
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
2010-07-21 16:44:43 +02:00
Joël Schaerer
5b0b8f866e more informative jumpstat 2010-07-21 16:02:23 +02:00
Barnaby Gray
91c05b1f8c python 2.4 compatibility 2010-07-20 23:27:44 +08:00
Joël Schaerer
1da392bad3 minor cleanup and indentation 2010-07-19 11:12:10 +02:00
Liyan Chang
937d60b875 [PATCH] Some comments added in the previous commit
were incorrect. Removed those comments.
2010-07-14 00:17:35 -04:00
Liyan Chang
2ed86b3a5e More intelligently modify users .bashrc and .bash_profile
install.sh:
1. for those who have a /etc/profile.d
   then grep .bashrc for the sourcing of the autocomplete code
2. for those who use OSX
   grep .bash_profile to make sure .bashrc is sourced.
2010-07-11 16:39:41 -04:00
Joel Schaerer
ea3cd60653 make the completion separator configurable 2010-07-07 23:55:32 +02:00
Joel Schaerer
8e1ab9ca54 fix completions for zsh 2010-07-07 23:51:42 +02:00
elcerdo
9f7835c738 typo in documentation 2010-06-22 17:55:32 +08:00
Tom MacWright
be7e2d8e1b Making the zsh script in line with sh 2010-06-22 17:55:19 +08:00
Joël Schaerer
3b68cd989c add a prefix option to the bash installer 2010-06-07 11:10:22 +02:00
Joel Schaerer
d0b7758130 fix completion for zsh (thanks simon!) 2010-04-27 14:16:08 +02:00
Joël Schaerer
3fa72536e9 completion now works with multiple patterns!!! 2010-04-27 10:08:07 +02:00
elcerdo
3936e28650 bugfix: pattern was not defined 2010-04-26 18:52:18 +02:00
Joel Schaerer
0e7ef2e721 multiple patterns (thanks amix!) 2010-04-26 01:00:57 +02:00
Joel Schaerer
35836ada8f bugfix 2010-04-26 00:20:55 +02:00
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.
2010-04-25 23:55:18 +02:00