aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-09-20 14:57:16 +1000
committerLouise Crow <louise.crow@gmail.com>2012-09-20 09:10:05 +0100
commit05c728bcff42d6c0cfe0b0eb22e5a021f3e78ba8 (patch)
tree2a248ac47287abcba698e0a14f1ffd7ab7926392
parent49508e4e6112e385266e208342fe3a7e3797e851 (diff)
Don't show an RVM message in a non-interactive shell, like a cronjob
-rw-r--r--.rvmrc1
1 files changed, 0 insertions, 1 deletions
diff --git a/.rvmrc b/.rvmrc
index 28471f674..1f2700fc2 100644
--- a/.rvmrc
+++ b/.rvmrc
@@ -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.