Skip to content

Commit

Permalink
Fix bug with sourcing items in alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Sutto committed Sep 19, 2010
1 parent 818b1f7 commit fa89fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/alias
Expand Up @@ -26,8 +26,8 @@ alias_conflicts_with_ruby() {
[[ "$1" == "default" && ! -L "$rvm_path/rubies/default" ]] && return 1
# Open for suggestions to a better way of doing this...
alias_check_result="$(
\. \"$rvm_path/scripts/initialize\"
\. \"$rvm_path/scripts/selector\"
\. "$rvm_path/scripts/initialize"
\. "$rvm_path/scripts/selector"
export rvm_ruby_string=\"$1\"
__rvm_ruby_string > /dev/null 2>&1
echo "$?"
Expand Down

0 comments on commit fa89fa2

Please sign in to comment.