re-add terminal setting
remove rbenv.sh source
fix paths so rbenv works in tmux
remove some dead code and clean up