Split shell initialization into several commands