scripts/cd in rvm-1.0.22 vs scripts/cd in rvm-1.0.23

- old
+ new

@@ -46,10 +46,10 @@ } # This functionality is opt-in by setting rvm_cd_complete_flag=1 in ~/.rvmrc # Generic bash cd completion seems to work great for most, so this is only # for those that have some issues with that. - if [[ ${rvm_cd_complete_flag} = 1 ]] ; then + if [[ ${rvm_cd_complete_flag:-0} = 1 ]] ; then # If $CDPATH is set, bash should tab-complete based on directories in those paths, # but with the cd function above, the built-in tab-complete ignores $CDPATH. This # function returns that functionality. _rvm_cd_complete ()