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

479 Commits

Author SHA1 Message Date
xiaonaitong
07e5767952 missing $SUDO when copy files to /etc/profile.d 2011-09-20 08:51:52 -06:00
xiaonaitong
f403a4b529 Merge remote branch 'joelthelion/master'
Conflicts:
	autojump
2011-09-20 06:40:50 -06:00
xiaonaitong
b318e11a6a don't use --bash option in function j 2011-09-20 18:45:42 +08:00
xiaonaitong
b39c84ec86 sudo is needed in non-windows system 2011-09-20 09:56:28 +08:00
Johnny Kuan
f75b11d143 fix typo in installers 2011-09-15 23:35:20 -07:00
Johnny Kuan
12bf584088 change version to git revision when installing 2011-09-15 23:21:35 -07:00
Johnny Kuan
f438372616 add version and help options 2011-09-15 23:20:50 -07:00
Joël Schaerer
c2bd900989 try to avoid hammering the filesystem
This significantly improves performance on a loaded machine
2011-09-15 17:08:55 +02:00
xiaonaitong
d9a423370a redo previlege check except in windows 2011-09-15 16:05:51 +08:00
xiaonaitong
a6410994c2 quick fix so thant it works on mingw and bash 3.1 2011-09-14 13:56:30 +08:00
Joël Schaerer
92b80073fd save the database in sorted form, for easier edition 2011-09-13 15:30:15 +02:00
Joël Schaerer
0ee020c72c (ugly) fixes for python 3 2011-09-12 17:04:37 +02:00
Joël Schaerer
81670c5fbc Try to correct the use of unicode
Since we now use utf-8 internally in the database,
we must convert to and fro from user and filesystem
input and our database. Of course to make things worse,
python 3 completely changed the way python handles unicode.

This is an attempt to do things correctly

Conflicts:

	autojump
2011-09-12 16:42:40 +02:00
Joël Schaerer
0298ef5484 Migration code for the new database format 2011-09-10 20:20:08 +02:00
Joël Schaerer
0b07cf030e Merge branch 'master' into text_format 2011-09-10 19:23:30 +02:00
Joël Schaerer
a4f4472046 Send error message to stderr 2011-09-09 13:04:35 +02:00
Joël Schaerer
b2985f3255 "Eat" paths to avoid multiple patterns matching the same part of the string
example:

if you have /tmp/vv/vv and want to specifically target it, you can now type
j vv vv
and it won't match /tmp/vv.
2011-09-09 13:04:21 +02:00
Joël Schaerer
e1ee172437 attempt to fix completion of weird directory names 2011-09-08 13:52:18 +02:00
Joël Schaerer
3b2276bdb9 attempt to fix completion of weird directory names 2011-09-07 13:24:24 +02:00
Joël Schaerer
01179b86f4 use a text format for the path file, for easy edition
Still needs a migration script
2011-09-06 14:21:59 +00:00
Joel Schaerer
00ce1696a7 try to fix OS X install 2011-08-28 10:10:54 +02:00
Joël Schaerer
c41771e2f2 Merge branch 'contrib/xdg-base-directory' of git://git.ortolo.eu/pkg-autojump into tanguy
Conflicts:

	autojump.bash
	jumpapplet

This should correctly merge Tanguy's XDG changes (thanks!) into the new
codebase.
2011-08-26 15:59:02 +02:00
Joël Schaerer
988adeaee8 hide the error file 2011-08-26 15:28:17 +02:00
Joel Schaerer
b9e36611a9 Merge pull request #66 from ntodd/master
Update to Readme
2011-08-20 02:19:41 -07:00
Nate Todd
8fd4364e1a added note to readme about Homebrew package availability 2011-08-19 13:47:29 -04:00
Joel Schaerer
48d2e68f4e attempt fixing jumpapplet, even though I think nobody uses it :) 2011-08-19 11:22:12 +02:00
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
Tanguy Ortolo
07ad27b583 Let autojump follow the XDG Base Directory Spec.
It now uses $AUTOJUMP_HOME if set, else $XDG_DATA_HOME/autojump if set,
else ~/.local/share/autojump.
2011-07-24 21:16:36 +02:00
Tanguy Ortolo
a45d94167f Update the shell snippets to use the XDG spec. 2011-07-24 21:08:56 +02:00
Tanguy Ortolo
88575c72f8 Let jumpapplet follow the XDG Base Directory Spec. 2011-07-24 20:56:46 +02: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