Fix CDPath.
Remove unused ruby env managers.
Improve bash history.