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
Joel Schaerer
16da74b2ff
add an exit status to the j functions
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
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.
14 years ago
Joël Schaerer
e04382358b
tentative fix of corner case path bug
14 years ago
Joël Schaerer
6b9880dc47
chain commands in the prompt_command with ; rather than &&
14 years ago
Joël Schaerer
7bd7db8770
messed up the last commit
14 years ago
Joël Schaerer
4de9c1c311
put the autojump data files in the correct directories.
...
Existing files should be migrated automatically
14 years ago
Joël Schaerer
6bcd8259a5
put header in the right place
14 years ago
Joël Schaerer
3fa72536e9
completion now works with multiple patterns!!!
15 years ago
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 :)
15 years ago
Joël Schaerer
f6d26b5833
less verbose error handling
15 years ago
Joel Schaerer
0ec15907e3
fixes for zsh. Thanks simon!!!
15 years ago
Joël Schaerer
2963f1fcea
license stuff
16 years ago
elcerdo
a119a4f177
works in vc
16 years ago
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 )
16 years ago
elcerdo
76484c1d14
Revert "Just a Test"
...
This reverts commit 0136d8f138
.
16 years ago
Simon Marache-Francisco
0136d8f138
Just a Test
16 years ago
Joel Schaerer
29046f4dce
remove spurious newline
16 years ago
Joel Schaerer
a6fb3b7fe7
ok this might even be a better option to run the prompt command in the background
16 years ago
Joel Schaerer
b21f004061
changes for better gdm compatibility
16 years ago
Joel Schaerer
f4f6ddaa99
update autojump.bash, thanks yqiang
16 years ago
Joel Schaerer
220a8da7aa
fixes for ubuntu
16 years ago