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

200 Commits

Author SHA1 Message Date
Joel Schaerer
8069ebf7e3 Merge pull request #64 from shelhamer/osx_lion_fix
Fix PROMPT_COMMAND for compatibility with OS X Lion
2011-07-28 02:18:47 -07:00
Joel Schaerer
025fdaba7a Merge pull request #57 from BinaryMuse/osx_bashrc_fix
Fix install.sh to check for sourcing of .bashrc
2011-07-28 01:53:23 -07:00
Evan Shelhamer
eac27be032 Fix PROMPT_COMMAND for compatibility with OS X Lion
Instead of updating $PROMPT_COMMAND by appending $AUTOJUMP with a leading
semicolon, prepend $AUTOJUMP followed by a semicolon.

It is unlikely (and frankly wrong) for anything to set $PROMPT_COMMAND to
begin with a semicolon, so this modification should not cause conflicts
where the previous version does.
2011-07-21 20:18:34 -04:00
Brandon Tilley
f1492bbe80 Make install.sh check for sourcing of .bashrc 2011-06-17 21:30:31 -07:00
Joel Schaerer
3c67f84437 Merge pull request #54 from int3/other-changes
Use pickle protocol 2.
2011-06-06 01:33:27 -07:00
jez
5d949f4e8a Use pickle protocol 2.
This ensures that autojump works when the default python interpreter is
changed, e.g. by virtualenv.
2011-06-02 00:33:28 +00:00
William Ting
34419c3eae fixed regex matching vs existing source /etc/profile line in .bashrc 2011-04-25 18:31:28 +08:00
Joel Schaerer
1bc3440968 avoid overwriting another user's database
Should fix issue #39
2011-03-30 20:03:38 +02:00
Tanguy Ortolo
36daeb1e32 Added Debian to the README.
autojump is now packaged for Debian too, and will reach Ubuntu.
2011-03-04 19:51:46 +01:00
Joel Schaerer
16da74b2ff add an exit status to the j functions 2011-02-07 22:51:59 +01:00
Joel Schaerer
1bf91d1b25 add an exit status to the autojump main script 2011-02-07 22:48:19 +01:00
Joel Schaerer
006dd5cbec remove old, unused code 2011-01-09 12:04:22 +01:00
Andy Leonard
18009e1aff Ignore emacs editor saves. 2011-01-09 18:51:37 +08:00
Joel Schaerer
694cc3fd9a jumpapplet is written in python2 2011-01-06 13:00:08 +01:00
Joel Schaerer
9734cfa736 use your actual shell instead of the one in /usr/bin
This should solve
http://github.com/joelthelion/autojump/issues/#issue/34
2011-01-05 20:05:36 +01:00
Joel Schaerer
4e579d5f63 more pylint
We are good now except for the shell_utility function which needs to be
refactored.
2011-01-04 21:00:59 +01:00
Joel Schaerer
b2e010e69a this signal handler shouldn't be needed anymore,
now that we handle files atomically
2011-01-03 23:24:22 +01:00
Joel Schaerer
ed5b2b2fed more pylint 2011-01-03 23:23:26 +01:00
Joel Schaerer
43d2d94a48 attempt to make autojump more pep8-compliant
(pour les grincheux)
2010-12-23 11:05:20 +01:00
Joel Schaerer
0217d6e066 fix perms: these scripts are meant to be sourced, not executed 2010-12-19 11:58:45 +01:00
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