fix autojump sourcing on arch

This commit is contained in:
Tony Blyler 2024-10-29 09:04:48 -04:00
parent dd85f11f9d
commit 39ae69891a
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
if [ -r /usr/share/autojump/autojump.sh ]; then
if [ -r /usr/share/autojump/autojump.zsh ]; then
source /usr/share/autojump/autojump.zsh
elif [ -r /usr/share/autojump/autojump.sh ]; then
source /usr/share/autojump/autojump.sh
fi
if [ -r "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" ]; then
elif [ -r "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" ]; then
source "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh"
fi