From 6c1dab232033b79534d4583a4d6f40340bdf334c Mon Sep 17 00:00:00 2001 From: Ruben Di Battista Date: Wed, 20 Jun 2018 23:27:38 +0200 Subject: Fix autojump sourcing on OSX with Macports (#4801) * Fix autojump sourcing on OSX with Macports The last version of autojump available on Macports does not have anymore different shell scripts (.sh, .zsh, .bash ...) to be sourced but just one autojump.sh that takes care of that located at /opt/local/etc/profile.d/autojump.sh fix # 4625 * Fix bug with macports autojump on OSX. --- plugins/autojump/autojump.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/autojump') diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh index 7339fad9e..c0af67631 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -15,8 +15,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed . /etc/profile.d/autojump.sh elif [ -f /usr/local/share/autojump/autojump.zsh ]; then # freebsd installation . /usr/local/share/autojump/autojump.zsh - elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports - . /opt/local/etc/profile.d/autojump.zsh + elif [ -f /opt/local/etc/profile.d/autojump.sh ]; then # mac os x with ports + . /opt/local/etc/profile.d/autojump.sh elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.sh ]; then # mac os x with brew . `brew --prefix`/etc/autojump.sh fi -- cgit v1.2.3-70-g09d2 From 3c9942c4884089b290ef750468b29419ca0de271 Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Tue, 9 Oct 2018 20:34:47 +0200 Subject: autojump: move README to right place --- plugins/autoenv/README.md | 11 ----------- plugins/autojump/README.md | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 plugins/autoenv/README.md create mode 100644 plugins/autojump/README.md (limited to 'plugins/autojump') diff --git a/plugins/autoenv/README.md b/plugins/autoenv/README.md deleted file mode 100644 index 18ff793cd..000000000 --- a/plugins/autoenv/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Autojump plugin - -This plugin loads the [autojump navigation tool](https://github.com/wting/autojump). - -To use it, add `autojump` to the plugins array in your zshrc file: - -```zsh -plugins=(... autojump) -``` - -More info on the usage: https://github.com/wting/autojump diff --git a/plugins/autojump/README.md b/plugins/autojump/README.md new file mode 100644 index 000000000..18ff793cd --- /dev/null +++ b/plugins/autojump/README.md @@ -0,0 +1,11 @@ +# Autojump plugin + +This plugin loads the [autojump navigation tool](https://github.com/wting/autojump). + +To use it, add `autojump` to the plugins array in your zshrc file: + +```zsh +plugins=(... autojump) +``` + +More info on the usage: https://github.com/wting/autojump -- cgit v1.2.3-70-g09d2