diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-09-20 14:57:16 +1000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-09-20 09:10:05 +0100 |
commit | 05c728bcff42d6c0cfe0b0eb22e5a021f3e78ba8 (patch) | |
tree | 2a248ac47287abcba698e0a14f1ffd7ab7926392 | |
parent | 49508e4e6112e385266e208342fe3a7e3797e851 (diff) |
Don't show an RVM message in a non-interactive shell, like a cronjob
-rw-r--r-- | .rvmrc | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -29,7 +29,6 @@ then \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true if [[ $- == *i* ]] # check for interactive shells then echo "Using: $(tput setaf 2)$GEM_HOME$(tput sgr0)" # show the user the ruby and gemset they are using in green - else echo "Using: $GEM_HOME" # don't use colors in non-interactive shells fi else # If the environment file has not yet been created, use the RVM CLI to select. |