(.zshrc, install.sh): add autojump support and installation across multiple OSes

This commit is contained in:
Frank Qing
2024-09-06 16:44:07 +08:00
parent e74202be06
commit 038cf2b2c7
2 changed files with 13 additions and 9 deletions

4
.zshrc
View File

@@ -224,6 +224,10 @@ source $ZSH/oh-my-zsh.sh
# Configs that can only work after "source $ZSH/oh-my-zsh.sh", such as Aliases that depend oh-my-zsh plugins
# Autojump configuration
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
[ -f /usr/share/autojump/autojump.sh ] && . /usr/share/autojump/autojump.sh
# Now source fzf.zsh , otherwise Ctr+r is overwritten by ohmyzsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_OPS="--extended"