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
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
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
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