5931f64308cbf4b0a8ef740a6b4eda5834479bd7
- Author
- Tima Maslyuchenko <dudapip3@gmail.com>
- Committer
- Tima Maslyuchenko <dudapip3@gmail.com>
- Date
Message
sanitized code according to coding style
Diff
1diff --git a/plugins/rbenv/rbenv.plugin.zsh b/plugins/rbenv/rbenv.plugin.zsh
2index a0a64c7e47ca2b9b47ac790e94f08e3798ae72c8..a62dd560209e7a63b782e3043e4300bbbd07a252 100644
3--- a/plugins/rbenv/rbenv.plugin.zsh
4+++ b/plugins/rbenv/rbenv.plugin.zsh
5@@ -1,14 +1,14 @@
6-function is_homebrew_installed() {
7+_homebrew-installed() {
8 type brew &> /dev/null
9 }
10
11-function is_rbenv_installed() {
12+_rbenv-from-homebrew-installed() {
13 brew --prefix rbenv &> /dev/null
14 }
15
16 FOUND_RBENV=0
17 rbenvdirs=("$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv")
18-if is_homebrew_installed && is_rbenv_installed ; then
19+if _homebrew-installed && _rbenv-from-homebrew-installed ; then
20 rbenvdirs=($(brew --prefix rbenv) "${rbenvdirs[@]}")
21 fi
22