1
0
mirror of https://github.com/wting/autojump synced 2024-09-28 14:00:46 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
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
Joel Schaerer
16da74b2ff add an exit status to the j functions 2011-02-07 22:51:59 +01: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
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
6b9880dc47 chain commands in the prompt_command with ; rather than && 2010-08-31 15:30:11 +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
3fa72536e9 completion now works with multiple patterns!!! 2010-04-27 10:08:07 +02: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
Joël Schaerer
f6d26b5833 less verbose error handling 2010-01-12 11:43:37 +01:00
Joel Schaerer
0ec15907e3 fixes for zsh. Thanks simon!!! 2009-10-03 20:25:16 +02:00
Joël Schaerer
2963f1fcea license stuff 2009-05-13 11:32:19 +02:00
elcerdo
a119a4f177 works in vc 2009-04-14 23:06:01 +02:00
Joël Schaerer
264eea2756 Preserve the original PROMPT_COMMAND: thanks to "courts"
for the original implementation
(http://n2.nabble.com/Preserving-COMMAND_PROMPT-td2507773.html)
2009-04-10 13:00:20 +02:00
elcerdo
76484c1d14 Revert "Just a Test"
This reverts commit 0136d8f138.
2009-03-28 01:19:58 +01:00
Simon Marache-Francisco
0136d8f138 Just a Test 2009-03-27 16:54:55 +01:00
Joel Schaerer
29046f4dce remove spurious newline 2009-03-08 15:37:42 +01:00
Joel Schaerer
a6fb3b7fe7 ok this might even be a better option to run the prompt command in the background 2009-03-06 20:39:02 +01:00
Joel Schaerer
b21f004061 changes for better gdm compatibility 2009-03-03 12:09:36 +01:00
Joel Schaerer
f4f6ddaa99 update autojump.bash, thanks yqiang 2009-02-23 09:36:13 +01:00
Joel Schaerer
220a8da7aa fixes for ubuntu 2009-02-19 22:09:59 +01:00