.bashrc: refactor and reorg