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
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 :)
pull/18/head
Joël Schaerer
14 years ago
parent
eddceb7e8f
commit
c928c78aaa
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
autojump.bash
+1
-1
autojump.zsh
+ 1
- 1
autojump.bash
View File
@ -25,7 +25,7 @@ _autojump()
return
0
}
complete
-F _autojump j
AUTOJUMP
=
'(autojump -a "$(pwd -P)"&)>/dev/null 2>>${HOME}/.autojump_errors'
AUTOJUMP
=
'
{
(autojump -a "$(pwd -P)"&)>/dev/null 2>>${HOME}/.autojump_errors
;} 2>/dev/null
'
if
[
[
!
$PROMPT_COMMAND
=
~ autojump
]
]
;
then
export
PROMPT_COMMAND
=
"
${
PROMPT_COMMAND
:-
:
}
&&
$AUTOJUMP
"
fi
+ 1
- 1
autojump.zsh
View File
@ -15,7 +15,7 @@
#along with autojump. If not, see <http://www.gnu.org/licenses/>.
function
autojump_preexec
(
)
{
(
autojump -a
"
$(
pwd
-P
)
"
&
)
>/dev/null 2>>
|
${
HOME
}
/.autojump_errors
{
(
autojump -a
"
$(
pwd
-P
)
"
&
)
>/dev/null 2>>
|
${
HOME
}
/.autojump_errors
;
}
2>/dev/null
}
typeset
-ga preexec_functions
Write
Preview
Loading…
Cancel
Save