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

570 Commits

Author SHA1 Message Date
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
Joel Schaerer
f59aab321c git ignore 2010-04-25 23:38:43 +02:00
Joel Schaerer
90bdb73a40 minor fixes 2010-04-25 23:38:15 +02:00
Joel Schaerer
accf8f1108 added shebang 2010-03-30 08:32:14 +02:00
Kiril Piskunov
abb936e33e added -e flag to echo in install.sh
in order for newline characters to be parsed correctly
2010-03-29 14:27:50 -07:00
Cloudera Training
411946deb7 install script modified in order for autojump to work on OS X out of the box 2010-03-28 14:50:16 -07:00
Cloudera Training
1fc107ad38 install script modified in order for autojump to install correctly OS X 2010-03-28 14:46:18 -07:00
Joël Schaerer
c533b2b4fd weird corner cases 2010-01-26 16:47:13 +01:00
Joël Schaerer
c928c78aaa really silent this time in case of write error in user directory
rationale: if a user's directory isn't writeable, then autojump is
probably his last concern :)
2010-01-20 17:47:52 +01:00
Sudish Joseph
eddceb7e8f Make new_path a local.
Leaking vars into the user's zsh env is not good, esp. when the var
refs a directory -- zsh may then interpret it as a named directory
ref and use it in prompts, for e.g.
2010-01-19 00:07:05 +08:00
Sudish Joseph
99d72918c8 Let zsh autocreate ~/.autojump_errors as needed. 2010-01-19 00:06:55 +08:00