diff --git a/plugins/available/autojump.plugin.bash b/plugins/available/autojump.plugin.bash new file mode 100644 index 00000000..7ba98879 --- /dev/null +++ b/plugins/available/autojump.plugin.bash @@ -0,0 +1,8 @@ +cite about-plugin +about-plugin 'Autojump configuration, see https://github.com/wting/autojump for more details' + +# Only supports the Homebrew variant at the moment. +# Feel free to provide a PR to support other install locations +if command -v brew &>/dev/null && [[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]]; then + . $(brew --prefix)/etc/profile.d/autojump.sh +fi