Permalink
Browse files

Try one pull two.

  • Loading branch information...
1 parent 6032384 commit 05fee0bb664e906979897cf01fac74cbadc8626f @wayneeseguin wayneeseguin committed Dec 2, 2009
Showing with 6 additions and 4 deletions.
  1. +2 −1 scripts/install
  2. +4 −3 scripts/rvm
View
@@ -89,7 +89,8 @@ echo -e "$(tput setaf 2)w⦿‿⦿t!$(tput sgr0)"
echo -e "\n ~ Wayne\n"
if [[ -x "$rvm_path/scripts/rvm" ]] ; then
- "$rvm_path/scripts/rvm" -v
+ source "$rvm_path/scripts/rvm"
+ rvm -v
fi
exit 0
View
@@ -41,8 +41,9 @@ if [[ "$rvm_loaded_flag" != "1" ]] || [[ "$rvm_reload_flag" = "1" ]] ; then
alias rvm-restart="source '${rvm_path}/scripts/rvm'"
if [[ -f "$rvm_path/default" ]] ; then source "$rvm_path/default" ; fi
-fi
-# Ok now we determine if we were called or sourced... under assumption of course ;)
-if [[ $# -gt 0 ]] && [[ -z "$(echo "$*" | awk '/completion-/')" ]] && [[ "$(basename $0)" = "rvm" ]] ; then rvm "$*" ; fi
+else
+ # Ok now we determine if we were called or sourced... under assumption of course ;)
+ if [[ $# -gt 0 ]] && [[ -z "$(echo "$*" | awk '/completion-/')" ]] && [[ "$(basename $0)" = "rvm" ]] ; then rvm "$*" ; fi
+fi

0 comments on commit 05fee0b

Please sign in to comment.