Clean up shell configuration