modified .rbenv file check validation in bashrc