This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
autojump
mirror of
https://github.com/wting/autojump.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
53
Wiki
Activity
Browse Source
Add autojump to the end of PROMPT_COMMAND
pull/139/head
JrCs
12 years ago
parent
6a6090892d
commit
74c50133d2
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bin/autojump.bash
+ 1
- 1
bin/autojump.bash
View File
@ -59,7 +59,7 @@ AUTOJUMP='{ [[ "$AUTOJUMP_HOME" == "$HOME" ]] && (autojump -a "$(pwd ${_PWD_ARGS
case
$PROMPT_COMMAND
in
case
$PROMPT_COMMAND
in
*autojump*
)
;
;
*autojump*
)
;
;
*
)
export
PROMPT_COMMAND
=
"
$AUTOJUMP
;
${
PROMPT_COMMAND
:-
:
}
"
;
;
*
)
export
PROMPT_COMMAND
=
"
${
PROMPT_COMMAND
:
+
$PROMPT_COMMAND
;
}
$AUTOJUMP
"
;
;
esac
esac
function
j
{
function
j
{
Write
Preview
Loading…
Cancel
Save