chruby_auto as a precmd function only in interactive mode