summaryrefslogtreecommitdiff
path: root/plugins/chruby
diff options
context:
space:
mode:
authorRamses Ladlani <ramses.ladlani@fishingcactus.com>2015-09-21 08:49:18 +0200
committerRamses Ladlani <ramses.ladlani@fishingcactus.com>2015-09-21 08:49:18 +0200
commit7576f856b915e6e02c5990cd7e221d7b9efbe44a (patch)
treebe3fe162edbc04946eea014a3612280d4909dc1e /plugins/chruby
parent6e0fcf803fe00445c97861360d1b0806d8cc56b8 (diff)
parent918d26e7dbcb907e673df24242c9688cd89019b9 (diff)
downloadzsh-7576f856b915e6e02c5990cd7e221d7b9efbe44a.tar.gz
zsh-7576f856b915e6e02c5990cd7e221d7b9efbe44a.tar.bz2
zsh-7576f856b915e6e02c5990cd7e221d7b9efbe44a.zip
Merge remote-tracking branch 'robyrussel/master' into fix-atom_plugin_for_cygwin
Discarded all previous changes to atom plugin for easier review in next commit.
Diffstat (limited to 'plugins/chruby')
-rw-r--r--plugins/chruby/chruby.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/chruby/chruby.plugin.zsh b/plugins/chruby/chruby.plugin.zsh
index b461b0c9b..5be6528b0 100644
--- a/plugins/chruby/chruby.plugin.zsh
+++ b/plugins/chruby/chruby.plugin.zsh
@@ -45,11 +45,11 @@ _source_from_omz_settings() {
zstyle -s :omz:plugins:chruby path _chruby_path
zstyle -s :omz:plugins:chruby auto _chruby_auto
- if ${_chruby_path} && [[ -r ${_chruby_path} ]]; then
+ if [[ -r ${_chruby_path} ]]; then
source ${_chruby_path}
fi
- if ${_chruby_auto} && [[ -r ${_chruby_auto} ]]; then
+ if [[ -r ${_chruby_auto} ]]; then
source ${_chruby_auto}
fi
}