mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
chruby: donʼt try to execute .sh files before loading
This commit is contained in:
parent
9c08641d7c
commit
8c5b948162
1 changed files with 2 additions and 2 deletions
|
@ -45,11 +45,11 @@ _source_from_omz_settings() {
|
||||||
zstyle -s :omz:plugins:chruby path _chruby_path
|
zstyle -s :omz:plugins:chruby path _chruby_path
|
||||||
zstyle -s :omz:plugins:chruby auto _chruby_auto
|
zstyle -s :omz:plugins:chruby auto _chruby_auto
|
||||||
|
|
||||||
if ${_chruby_path} && [[ -r ${_chruby_path} ]]; then
|
if [[ -r ${_chruby_path} ]]; then
|
||||||
source ${_chruby_path}
|
source ${_chruby_path}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ${_chruby_auto} && [[ -r ${_chruby_auto} ]]; then
|
if [[ -r ${_chruby_auto} ]]; then
|
||||||
source ${_chruby_auto}
|
source ${_chruby_auto}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue