scripts/cd in rvm-0.1.43 vs scripts/cd in rvm-0.1.44
- old
+ new
@@ -9,15 +9,19 @@
# On zsh, use chpwd_functions
chpwd_functions=( "${chpwd_functions[@]}" __rvm_project_rvmrc )
else
cd() {
builtin cd "$@"
+ result=$?
__rvm_project_rvmrc
+ return $result
}
fi
else
cd() {
builtin cd "$@"
+ result=$?
__rvm_project_rvmrc
+ return $result
}
fi
fi