diff options
author | L.C. Karssen <lennart@karssen.org> | 2016-03-07 22:09:02 +0100 |
---|---|---|
committer | L.C. Karssen <lennart@karssen.org> | 2016-03-07 22:09:02 +0100 |
commit | cfac963772718723589bf7293be0a53f79511b24 (patch) | |
tree | 1c0f680591d81ecfaff8932d07f8131f4a6fd45c /plugins/chruby/chruby.plugin.zsh | |
parent | 0a47451a462284d20c633a7d6b3431a71bf65759 (diff) | |
parent | bd6dbd1d9b1fc8a523aaf588492eb3ed4113b49d (diff) | |
download | zsh-cfac963772718723589bf7293be0a53f79511b24.tar.gz zsh-cfac963772718723589bf7293be0a53f79511b24.tar.bz2 zsh-cfac963772718723589bf7293be0a53f79511b24.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/chruby/chruby.plugin.zsh')
-rw-r--r-- | plugins/chruby/chruby.plugin.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/chruby/chruby.plugin.zsh b/plugins/chruby/chruby.plugin.zsh index 164b4319f..758b4a56c 100644 --- a/plugins/chruby/chruby.plugin.zsh +++ b/plugins/chruby/chruby.plugin.zsh @@ -16,9 +16,6 @@ # rvm and rbenv plugins also provide this alias alias rubies='chruby' -local _chruby_path -local _chruby_auto - _homebrew-installed() { whence brew &> /dev/null } @@ -42,6 +39,9 @@ if _ruby-build_installed; then fi _source_from_omz_settings() { + local _chruby_path + local _chruby_auto + zstyle -s :omz:plugins:chruby path _chruby_path zstyle -s :omz:plugins:chruby auto _chruby_auto |