Auto-jump setup
This commit is contained in:
parent
3916889ff5
commit
0058a21c5f
@ -51,6 +51,7 @@
|
||||
"android-sdk",
|
||||
"ant",
|
||||
"autoconf",
|
||||
"autojump",
|
||||
"automake",
|
||||
"bash",
|
||||
"binutils",
|
||||
|
@ -3,8 +3,15 @@ for filename in ~/.lib/shellrc/*; do
|
||||
done
|
||||
|
||||
[ -s "/usr/local/bin/virtualenvwrapper.sh" ] && . /usr/local/bin/virtualenvwrapper.sh
|
||||
[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh
|
||||
function j() {
|
||||
(( $+commands[brew] )) && {
|
||||
local pfx=$(brew --prefix autojump)
|
||||
[[ -f "$pfx/etc/autojump.sh" ]] && . "$pfx/etc/autojump.sh"
|
||||
j "$@"
|
||||
}
|
||||
}
|
||||
environment_variable_exists INSIDE_EMACS && inside_emacs_hook
|
||||
|
||||
# travis completion
|
||||
[ -f "$HOME/.travis/travis.sh" ] && source "$HOME/.travis/travis.sh"
|
||||
# XXX: Disabled to reduce performance impact
|
||||
# [ -f "$HOME/.travis/travis.sh" ] && source "$HOME/.travis/travis.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user