Johnny Kuan
12bf584088
change version to git revision when installing
13 years ago
Johnny Kuan
f438372616
add version and help options
13 years ago
Joël Schaerer
c2bd900989
try to avoid hammering the filesystem
...
This significantly improves performance on a loaded machine
13 years ago
xiaonaitong
d9a423370a
redo previlege check except in windows
13 years ago
xiaonaitong
a6410994c2
quick fix so thant it works on mingw and bash 3.1
13 years ago
Joël Schaerer
92b80073fd
save the database in sorted form, for easier edition
13 years ago
Joël Schaerer
0ee020c72c
(ugly) fixes for python 3
13 years ago
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
13 years ago
Joël Schaerer
0298ef5484
Migration code for the new database format
13 years ago
Joël Schaerer
0b07cf030e
Merge branch 'master' into text_format
13 years ago
Joël Schaerer
a4f4472046
Send error message to stderr
13 years ago
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.
13 years ago
Joël Schaerer
e1ee172437
attempt to fix completion of weird directory names
13 years ago
Joël Schaerer
3b2276bdb9
attempt to fix completion of weird directory names
13 years ago
Joël Schaerer
01179b86f4
use a text format for the path file, for easy edition
...
Still needs a migration script
13 years ago
Joel Schaerer
00ce1696a7
try to fix OS X install
13 years ago
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.
13 years ago
Joël Schaerer
988adeaee8
hide the error file
13 years ago
Joel Schaerer
b9e36611a9
Merge pull request #66 from ntodd/master
...
Update to Readme
13 years ago
Nate Todd
8fd4364e1a
added note to readme about Homebrew package availability
13 years ago
Joel Schaerer
48d2e68f4e
attempt fixing jumpapplet, even though I think nobody uses it :)
13 years ago
Joel Schaerer
8069ebf7e3
Merge pull request #64 from shelhamer/osx_lion_fix
...
Fix PROMPT_COMMAND for compatibility with OS X Lion
13 years ago
Joel Schaerer
025fdaba7a
Merge pull request #57 from BinaryMuse/osx_bashrc_fix
...
Fix install.sh to check for sourcing of .bashrc
13 years ago
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.
13 years ago
Tanguy Ortolo
a45d94167f
Update the shell snippets to use the XDG spec.
13 years ago
Tanguy Ortolo
88575c72f8
Let jumpapplet follow the XDG Base Directory Spec.
13 years ago
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.
13 years ago
Brandon Tilley
f1492bbe80
Make install.sh check for sourcing of .bashrc
13 years ago
Joel Schaerer
3c67f84437
Merge pull request #54 from int3/other-changes
...
Use pickle protocol 2.
14 years ago
jez
5d949f4e8a
Use pickle protocol 2.
...
This ensures that autojump works when the default python interpreter is
changed, e.g. by virtualenv.
14 years ago
William Ting
34419c3eae
fixed regex matching vs existing source /etc/profile line in .bashrc
14 years ago
Joel Schaerer
1bc3440968
avoid overwriting another user's database
...
Should fix issue #39
14 years ago
Tanguy Ortolo
36daeb1e32
Added Debian to the README.
...
autojump is now packaged for Debian too, and will reach Ubuntu.
14 years ago
Joel Schaerer
16da74b2ff
add an exit status to the j functions
14 years ago
Joel Schaerer
1bf91d1b25
add an exit status to the autojump main script
14 years ago
Joel Schaerer
006dd5cbec
remove old, unused code
14 years ago
Andy Leonard
18009e1aff
Ignore emacs editor saves.
14 years ago
Joel Schaerer
694cc3fd9a
jumpapplet is written in python2
14 years ago
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
14 years ago
Joel Schaerer
4e579d5f63
more pylint
...
We are good now except for the shell_utility function which needs to be
refactored.
14 years ago
Joel Schaerer
b2e010e69a
this signal handler shouldn't be needed anymore,
...
now that we handle files atomically
14 years ago
Joel Schaerer
ed5b2b2fed
more pylint
14 years ago
Joel Schaerer
43d2d94a48
attempt to make autojump more pep8-compliant
...
(pour les grincheux)
14 years ago
Joel Schaerer
0217d6e066
fix perms: these scripts are meant to be sourced, not executed
14 years ago
Michael Schout
550c21dc98
fix shbang line so it will find python if not in /usr/bin
14 years ago
Joël Schaerer
d6f398858c
minor fixes
14 years ago
Joël Schaerer
82d3e14c1f
initial version of script for ipython
14 years ago
Davide Setti
8a24aa89b3
use itemgetter() in sort() instead of a lambda function
14 years ago
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.
14 years ago
Joël Schaerer
d9010198ef
no need for a hidden file in this directory
14 years ago